I am using deluge: 1.3.6 with libtorrent: 0.16.17.0 on Debian Jessie. This is my /etc/init.d/deluge-daemon: http://pastie.org/pastes/9661685/text?k ... xszsdlsfvg
I have `UMASK=003` which should give me rwxrwxr-- but all of my downloaded files are rw-rw-r--. Is there somewhere else that UMASK could be set that would trump the value in the init script?
Edit: Updated to deluge: 1.3.9 and the problem still persists
Umask not setting permissions correctly
Re: Umask not setting permissions correctly
Similarly I am having an issue with all files being
with an env umask of 000 in both /etc/init/deluged.conf and deluge-web.conf so the permissions should be
this is after having done:
It was running a umask of 007 with the expected -rwxrwx--- but I've had to change this to 000 because I can't access any of the files that the user (deluge) creates with my other user (htpc) despite the user htpc belonging to the deluge group. I was having to manually chown -R htpc:htpc .../dowloads/deluge/ everything as the files of course were deluge:deluge. I have my samba conf setup to use the htpc as guest user, and couldn't access the files over that. Nor would they index under xbmc when that were running under htpc.
So that leaves me with umask 000 in the deluge conf but that appears to be broken. Not sure what version of deluge I'm running as I haven't forwarded my ssh through the home firewall and I'm at work at present. It should be whatever is in the ubuntu trusty repos at present though (1.3.6 or .7?)
Edit: On XBMCbuntu which is just a stripped down version of Ubuntu Trusty (14.04). Upstart as per http://dev.deluge-torrent.org/wiki/User ... ce/Upstart
Code: Select all
-rw-rw----
with an env umask of 000 in both /etc/init/deluged.conf and deluge-web.conf so the permissions should be
Code: Select all
-rwxrwxrwx
Code: Select all
sudo restart deluged
sudo restart deluge-web
So that leaves me with umask 000 in the deluge conf but that appears to be broken. Not sure what version of deluge I'm running as I haven't forwarded my ssh through the home firewall and I'm at work at present. It should be whatever is in the ubuntu trusty repos at present though (1.3.6 or .7?)
Edit: On XBMCbuntu which is just a stripped down version of Ubuntu Trusty (14.04). Upstart as per http://dev.deluge-torrent.org/wiki/User ... ce/Upstart
Re: Umask not setting permissions correctly
This is not a Deluge issue, it is to do with Ubuntu and the permissions you have set up. There does not seem to be anything obviously wrong so it might be worth reading the answers to this umask askubuntu question to see if it gives you any clues: http://askubuntu.com/q/44542/8570
I actually use ACLs on my 12.04 server but there is a note on the Ubuntu wiki that using ACLs is broken in 14.04.
I actually use ACLs on my 12.04 server but there is a note on the Ubuntu wiki that using ACLs is broken in 14.04.