Sonarr version: 4.0.11.2680-ls260(via lscr.io/linuxserver/sonarr:latest)
OS: Fedora 41
Debug logs: Permissions Issue Trace · GitHub
Compose File: podman compose file · GitHub
Description of issue: I’m having a strange permission issue I don’t understand and am hoping someone might have some insight into it. Logs and compose file above. What happens is I try to scan existing files or set up a directory for files in the media management settings and it tells me “Folder ‘/storage/Television/’ is not writable by user ‘abc’”. Same message no matter how it’s triggered and the same message as it shows in the logs (with little more detail).
I am using podman instead of docker but it should be compatible (I’ve gotten other services running without issue). I think it may be related to the differences in how the two run containers (despite what podman says it’s not a perfect docker replacement, but I am already using it and would like to just use it instead of having to have a single container in docker, outside the rest of my management pipeline).
Being a permission issue I tried to obvious stuff; permissions on the host system are correct, the files are owned by user 1000 and in the same 1000 group. When I go into the container I can see the directory being mounted, but it says everything is owned by root. The root user can modify things just fine as expected. The problem all comes down to the abc user. I checked the passwd file and the user abc has the pid/gid 1000, same as I passed and same as the user on the host machine (the user the container is ran under).
I’d prefer not to have to switch over to docker just for this and there’s gotta be someone else out there with this running on fedora too. Any advice would be appreciated.