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.
Having issues with your DietPi installation or found a bug? Post it here.