[Solved] Deluge - how to set up permissions

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
Torvald
Posts: 5
Joined: Sun Dec 09, 2018 6:30 pm

[Solved] Deluge - how to set up permissions

Post by Torvald »

Hello everyone.
I'm trying to set a umask for deluge so that the sonarr can automatically pick up the downloaded files. All folders created by deluge have 751 rights, for the user: deluge and group: dietpi.
I could not find any config files that are talked about in the deluge forums.
Here is what I have already tried without any result:
- edit the MASK parameter in the script /etc/init.d/deluged to the 002
- edit the Umask parameter in the /etc/systemd/system/deluged.service to the 002

If i set global umask to 002 it works. But i think it isn't right solution.

So the question is how to set a umask for deluge properly so that all the folders created by it have permissions 775? Or what other ways can this be achieved?

- DietPi v6.19.6 | Native PC (x86_64)
Torvald
Posts: 5
Joined: Sun Dec 09, 2018 6:30 pm

Re: Deluge - how to set up permissions

Post by Torvald »

This is a stupid mistake, I should have written UMask instead of Umask in "/etc/systemd/system/deluged.service".
Shame on me.
User avatar
MichaIng
Site Admin
Posts: 2293
Joined: Sat Nov 18, 2017 6:21 pm

Re: Deluge - how to set up permissions

Post by MichaIng »

Ah great, thx for reporting back solution. I was already searching the web and as well found the info that this need to be set in /etc/systemd/system/deluged.service.

We will apply 775 permissions/002 umask with v6.20 by default for deluge.

Opened PR on GitHub: https://github.com/Fourdee/DietPi/issues/2339
Post Reply