mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
- Instead implement running specific commands inside the privileged action as a specific user. Tests: - In transmission, setting the download directory is valid if - A parent level directory is writable by transmission daemon and child does not exist. - A leaf level directory is writable by transmission daemon when leaf exists. - A leaf level exists and is not a directory. - In MiniDLNA, setting the directory works only if it exists and is readable. Work when write permission is not available. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>