Issues with torrents and file permissions Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
compdealer
Posts: 2
Joined: Sat May 09, 2020 7:32 pm

Re: Issues with torrents and file permissions

Post 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.
User avatar
Joulinar
Posts: 2049
Joined: Sat Nov 16, 2019 12:49 am

Re: Issues with torrents and file permissions

Post by Joulinar »

Hi,

a fix was implemented into DietPi v6.30

https://github.com/MichaIng/DietPi/issues/3524
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply