Hi,
I've set up Lidarr a while ago and /music folder usually needed a chmod nudge from the container itself to be writable despite mounting it as rw volume. I understood that probably having an underlying problem but this provided a quick fix. Now I find I'm unable to execute it for some reason, hence importing fails.
Lidarr log:
[v3.1.6.5079] System.UnauthorizedAccessException: Access to the path '/music/xyz' is denied.
---> System.IO.IOException: Permission denied
--- End of inner exception stack trace ---
at System.IO.FileSystem.CreateDirectory(String fullPath, UnixFileMode unixCreateMode)
at System.IO.DirectoryInfo.Create()[v3.1.6.5079] System.UnauthorizedAccessException: Access to the path '/music/xyz' is denied.
---> System.IO.IOException: Permission denied
--- End of inner exception stack trace ---
at System.IO.FileSystem.CreateDirectory(String fullPath, UnixFileMode unixCreateMode)
at System.IO.DirectoryInfo.Create()
Terminal log:
root@6662b7f03955:/# chmod 666 /music
chmod: changing permissions of '/music': Operation not permitted
root@6662b7f03955:/# chown nobody:nobody /music
chown: changing ownership of '/music': Operation not permitted
root@6662b7f03955:/#
The container maps to an existing user on my server that has no problems accessing the mount where downloads are, and again, usually changing privileges in the container resolved the problem for me previously. Any idea how to go about fixing this?
Edit: I forgot to say /downloads is owned by nobody:nobody but /music is nobody:root. Why this mapping? How can I go about changing this?