Page 2 of 2

Re: Issues with torrents and file permissions

Posted: Sun May 10, 2020 6:18 pm
by compdealer
I'm new to DietPI and was having issues with qBittorrent permissions. I use radarr/sonarr and qbittorrent on a headless Pi 4 torrentbox. And there is a hardlink feature in both radarr/sonarr apps which was not working. After some investigation, I found the issue was with qBittorent, which created files with 755 permissions. So radarr/sonarr don't have write permission for downloaded files and hardlinks failed to create.
Made some search over net, found this: https://deluge.readthedocs.io/en/latest ... rvice.html

So I just edited the /etc/systemd/system/qbittorrent.service file, added UMask=002 under [Service] section and after reboot everything runs flawlessly!
Think this setting should be implemented in future releases.

Re: Issues with torrents and file permissions

Posted: Sun May 10, 2020 11:55 pm
by Joulinar
Hi,

a fix was implemented into DietPi v6.30

https://github.com/MichaIng/DietPi/issues/3524