Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#31256 - [deluge] set umask to 007 when starting systemd

Attached to Project: Arch Linux
Opened by Martin Minka (k2s) - Thursday, 23 August 2012, 08:15 GMT
Last edited by Jan Alexander Steffens (heftig) - Thursday, 23 August 2012, 12:00 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
If deluge is started with systemd it will create all files with mask 0644.
There is group deluge created when deluge is installed.
Members of deluge group have no delete permissions in downloaded files.

Setting umask could solve this problem as it is done for example in this Ubuntu init sccript http://dev.deluge-torrent.org/wiki/UserGuide/InitScript/Ubuntu%2011.04%2B%20%28Upstart%20Job%29.

Not sure if it is task for systemd unit files or for /etc/conf.d/deluged.
I am sorry, but unfortunately I did not found working solution by myself.

Steps to reproduce:
* sudo usermod -a -G deluge <user>
* sudo systemctl start deluged
* download new file
* delete the torrent, but not the file in deluge GUI
* try to delete/move the file as <user>
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Thursday, 23 August 2012, 12:00 GMT
Reason for closing:  Implemented
Additional comments about closing:  In trunk.

Loading...