I cannot get hardlinking to work with Sonarr (and Radarr for that matter). I followed the file system and settings recommended in the guide at https://trash-guides.info/. I have also tried to make sure that sonarr has the appropriate permissions to read/write files in /data/torrents/tv and /data/media/tv, however in the trace logs (if I am reading these correctly) Sonarr does not seem to have permission. I am not sure what else to try (I am sort of new to linux). Any help is appreciated.
I should add that the user sonarr and the main user are in the group media, and I have granted the group media rwx permissions to the folder /data and all subsequent folders.
The output from systemctl cat sonarr says group=sonarr, but I have verified with “groups sonarr” that the user sonarr is a member of the group media. Could this be the issue?
Sorry I jumped the gun there. I changed the group sonarr runs as to media with “dpkg-reconfigure sonarr”, and the log files still show that the hardlink was not permitted.
So I think I see the problem now. New downloads into the torrents/tv folder have -rw-r–r-- permissions, is there a way to set new downloads to give write permissions to the group as well? I’ve tried searching for this but haven’t figured it out.