Sonarr version (exact version): 220.127.116.1144
Mono version (if Sonarr is not running on Windows): 18.104.22.168
OS: Ubuntu 19.10
Description of issue:
I am having a problem getting Sonarr to post-process downloaded files, then move them to my Plex media folder. Sonarr runs as myuser and Sabnzbd runs as sabnzbd. Sabnzbd downloads to /home/sabnzbd/Downloads/complete and my Plex library resides at /mnt/sdc1/tv (in this case)
This is in my Sonarr log:
20-3-21 08:45:47.6|Warn|ImportApprovedEpisodes|Couldn’t import episode /home/sabnzbd/Downloads/complete/…episode name…/8a96bd8519ca4f0db9daf9234a4ae55c.mkv
[v22.214.171.12444] System.UnauthorizedAccessException: Access to the path is denied.
I wasn’t sure, to what path the error was referring, so I ran this:
sudo chmod -R ugo+rw /home/sabnzbd/Downloads/
sudo chmod -R ugo+rw /mnt/sdc1/
To make sure both users can read and write to any sub-directory. That didn’t help.
The perms look like this:
/home/myuser# ls -l /home/sabnzbd/Downloads/
drwxrwxrwx 30 sabnzbd sabnzbd 4096 Mar 21 08:50 complete
/home/myuser# ls -l /mnt/sdc1/
drwxrwxrwx 1 root root 4096 Mar 18 15:00 tv
I thought that maybe, adding myuser to the groups with permission would help. I ran:
sudo usermod -a -G root myuser
sudo usermod -a -G sabnzbd myuser
myuser : myuser root ...truncatedlist... sabnzbd
Any thoughts on what I’m missing here?