Page 1 of 1

Unable to get umask working on service

Posted: Fri Dec 01, 2017 4:58 am
by brackleebunduru
I have looked at the documentation and am not able to get umask to work properly on the deluge-web service.

I am currently download files owned by deluge:deluge and I am trying to get another user who is a member of the deluge group to move/clean up duplicates. Probably would have 760 permissions.

This is my service file:

Note: Am using 000 mask for testing.

Code: Select all

[Unit]
Description=Deluge Bittorrent Client Web Interface
After=network.target

[Service]
User=deluge
Group=deluge
UMask=000
ExecStart=/usr/bin/deluge-web

[Install]
WantedBy=multi-user.target
Any help would be appreciated.

Re: Unable to get umask working on service

Posted: Fri Dec 01, 2017 11:54 am
by sinaptika
1.
Stop changing umask for deluge-web (deluge-web.service) and change it back to 027

2.
You should change umask for deluged (deluged.service). Deluged is the one doing the downloading, deluge-web is just the web interface.