You are not logged in.
The deluge.service runs as the deluge user. What is the best way to avoid needing to `sudo chown graysky:users /foo/bar` once the resulting file has been downloaded via deluge?
I setup /foo for the deluged.service to use as follows, but again, files created there are owned by 125:125:
usermod -a -G deluge graysky
mkdir /foo
chown -R graysky:deluge /foo
chmod 775 /foo
chmod g+s /foo
Example downloading the arch iso:
ls -lh /foo
-rw-r--r-- 1 deluge deluge 746M Nov 26 05:33 archlinux-2016.11.01-dual.iso
Note - this has been asked in this older thread but not fully resolved to my liking.
Last edited by graysky (2016-11-26 22:06:28)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I edited the wiki with a solution: https://wiki.archlinux.org/index.php/De … .2Fuploads
Last edited by graysky (2016-11-26 22:06:17)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Might as well use setfacl
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline