I run Sonarr as user keith and keith owns all the media directories. I’m trying to set Sonarr’s Permission setting “chown Group” to an existing group mediashare, which keith belongs to. My mediashare group includes plex so that I can delete files when using plex. The only way to do this now is to grant Everyone full permission to the media library.
In Sonarr the “chown User” shows keith, I enter mediashare in chown Group and Save, but when I click away and come right back everything’s reverted back to all the original Permission settings (chown Group empty). I checked the nzbdrone ps and the process is running as keith. As keith using Nautilus or terminal, there’s no problem changing group permissions on these files to mediashare. Not sure why Sonarr won’t keep the change.
Check the logs for an error saving as well as the browser’s dev console to see if there is a hidden error trying to save. The problem is in saving the settings.
All of a sudden the mediashare group setting is sticking! Unfortunately the group isn’t being changed by Sonarr during rename/move. No error msgs. I am able to go to the folder/file as keith in nautilus and make the group change no problem. I checked, and top doesn’t show nzbdrone or sonarr but the mono process is running as keith.
If Sonarr isn’t logging an error when it attempts to change the permissions then to its knowledge it succeeded.
If you enable debug logging, you will see a log message that Sonarr is setting file permissions and if it fails to find the user or group ID it will log a message, if the operation fails you should see Error setting file owner and/or group.
I ran into the same issue, no doubt due to my LInux inexperience. I ended up just using the same user account to run Sonarr, Plex, SAB, and CouchPotato… reset the permissions to “plex:media” (user and group) for all the folders and no more issues.