Proper usage of deluged.service with filesystem permissions
Posted: Sat Nov 26, 2016 11:10 am
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:
Example downloading the arch iso:
I setup /foo for the deluged.service to use as follows, but again, files created there are owned by 125:125:
Code: Select all
usermod -a -G deluge graysky
mkdir /foo
chown -R graysky:deluge /foo
chmod 775 /foo
chmod g+s /foo
Code: Select all
ls -lh /foo
-rw-r--r-- 1 deluge deluge 746M Nov 26 05:33 archlinux-2016.11.01-dual.iso