Acces denied on import (permission problem?)

Sonarr version (exact version): 2.0.0.5344
Mono version (if Sonarr is not running on Windows): 5.20.1.34
OS: QNAP QTS 4.5.1.1495
Debug logs: https://hastebin.com/omehizaham.yaml
Description of issue:

Hey guys, I’m sorry if this has been asked before but I’ve read a bunch of topics, threads and sites but I can’t seem to find a solution. My problem is that Sonarr has issues moving SOME files, and for the life of me I cannot figure out why. The problem right now is that I have two episodes of Attack on Titan that Sonarr refuses to import (access denied). The thing is that it has absolutely no problems with other series (the expanse downloaded and imported just fine yesterday).

I am running Sonarr in a container, as far as I know it’s able to do everything it needs to, just not import these specific files. I have a suspicion it has something to do with creating or deleting folders, but I’m not sure. I had a docker user, and eventually gave him read/write access to all folders (on the whole nas), made him admin, but nothing works. I have absolutely no clue what I’m doing wrong here. Any help would be greatly appreciated!

Definitely looks like permissions. It could be on the source or destination (check debug logs for both paths).

Yeah, I had a sneaking suspicion. But as far as I know I’ve given every permission there is to be given, so I don’t get it. I did see another error in my log though this morning about Sonarr not being able to delete I guess, so I think I was in the right direction. https://hastebin.com/upedifokir.yaml

I did not have debug logging on so I’ll update when I force the error again.

hastebin the output of ls -l /MediaLibrary/Series/Attack on Titan, that’ll show that series folder and the subfolders permissions.

https://hastebin.com/fokurubiji.yaml

This is the output I get over SSH. This means everybody should be able to do whatever the hell they want here right?

Sorry I missed the a, it should have been ls -la /MediaLibrary/Series/Attack on Titan (to get the series and root folders).

There isn’t a season 4 folder there, so I assume the user running Sonarr doesn’t have permissions to create it.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.