Ubuntu File and Folder Permissions

General support for problems installing or using Deluge
Post Reply
DancherBoi

Ubuntu File and Folder Permissions

Post by DancherBoi »

I am in need of some assistance in troubleshooting my file and folder permissions that are assigned when downloading via Deluge. I have searched this forum and found a few identical issues, but I have not been able to remedy my situation with the solutions there.

I am running the 1.3.6 version of Deluge on a headless Ubuntu 13.10 server.
I have followed the install instructions from here: http://dev.deluge-torrent.org/wiki/Inst ... nux/Ubuntu
I have also followed the upstart instructions from here: http://dev.deluge-torrent.org/wiki/User ... art%20Job)

I am able to connect to my server from the webUI. I am able to download torrents.

Within the upstart instructions is a conf file for the daemon /etc/init/deluged.conf. Within that file is a umask parameter which I have left as the default of 007. As I understand it, with this umask, my folders should be created as 770 (rwxrwx---) and files should be created as 660 (rw-rw----).

However, what is actually happening is that my folders are created as rwxr-xr-x and files as rw-r--r--. It's getting the user permissions correct, but not the group or world permissions.

My first thought is that perhaps I am not updating the correct parameter in the correct conf file. But as per the install and upstart instructions, this is the correct place to make that setting.

I have confirmed that my start-stop-daemon supports umask...
  • start-stop-daemon --help | grep umask
  • -k|--umask <mask> change the umask to <mask> before starting
The parent folder of my download folder is owned by the deluge user and deluge group for which I want the permissions to apply. The permissions of the parent folder are rwxrwxr-x.

My goal here is to enable my users who are part of the deluge group, to be able to manage the downloads. Currently they are missing the write permission attribute on both the folders and files in order for this to happen. Thanks in advance for any help you can give.
Post Reply