You are not logged in.
I am running deluged.service and told it to download to /media/downloads but how to I grant the deluge user permission to read/write to /media/downloads when my user owns that directory and the deluge user is not in my user group?
Offline
Might be an easier way, but see: http://xyne.archlinux.ca/notes/linux/sh … ctory.html
EDIT: This should really be covered in the deluge wiki page...
EDIT2: https://wiki.archlinux.org/index.php/De … .2Fuploads
Last edited by graysky (2016-11-26 22:06:42)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Deluge will not download for me after trying the advice. What did I do wrong?
# chgrp deluge /media/downloads
# chmod g+s /media/downloads
# setfacl -d -m g:deluge:rwx /media/downloads
# getfacl /media/downloads
# ls -l /media
drwx--S---+ 3 maggie deluge 4.0K Apr 13 05:33 downloads
Last edited by maggie (2014-04-13 08:42:58)
Offline
Not sure... another strategy is to add yourself to the 'deluge' group and make /media/downloads owned by you and that group. Maybe someone else has a better idea.
Example as root:
usermod -a -G deluge maggie
mkdir /foo
chown -R maggie:deluge /foo
chmod 770 /foo
chmod g+s /foo
The last command will make new files and subdirectories inherit the group ID I believe.
Last edited by graysky (2014-04-13 09:11:34)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline