Permissions - QNAP - Domain

Sonarr version (exact version): 2.0.0.4230
Mono version (if Sonarr is not running on Windows): 4.4.0.182
OS: QNAP

I am having some file permissions issues when a file gets dumped into my multimedia directory on my NAS. It appears there but playback can’t occur. If I change the permissions it works fine.

my QNAP is a member of the domain and I am just looking at the permissions field in the Sonarr web interface.

Can I in the chown Group field use the domain\group format to specify a group to have permissions to the final file. Or am I better to make the domain group a part of a local NAS group and specify that local NAS group

Can I specify more than one group using a delimiter e.g. domain\group1;domain\group2

Can is there any way to have two different levels of permission applied.

I am having some file permissions issues when a file gets dumped into my multimedia directory on my NAS. It appears there but playback can’t occur. If I change the permissions it works fine.

my QNAP is a member of the domain and I am just looking at the permissions field in the Sonarr web interface.

Can I in the chown Group field use the domain\group format to specify a group to have permissions to the final file. Or am I better to make the domain group a part of a local NAS group and specify that local NAS group

local nas group, it’s unix permissions.

Can I specify more than one group using a delimiter e.g. domain\group1;domain\group2

No, a file can only have one user-owner and one group-owner.

Can is there any way to have two different levels of permission applied.

No

thanks for the prompt reply Taloth! pretty much answered all the questions.

Just trying to work out how I can achieve the permissions I want while still having the process automated. Most of my end points auto login as a user with just read permissions to the file shares (so users can’t accidentally delete any media). Then obviously administrators can delete files from the shares when they are logged in. When Sonarr moves the files over they don’t seem to inherit the permissions of that folder/share which means I am going to end up with a bunch of files throughout the media directory with different permissions to all the other media.

If I was to install Sonarr onto a Windows based machine instead of native on the NAS, then when it moved the downloads to the NAS folder would it then inherit the permissions in that folder the same as when I copy something to the NAS via the network?

thanks

Ok that’s a big question. And frankly, I don’t know everything, it’s rather specific to how a NAS is configured. For example, usually SMB-shares have configured umask for new files that get copied in over the share. It will not inherit folder permissions, that’s not how unix permissions work.

But you just have to configure sabnzbd/nzbget and sonarr properly to set the unix permissions locally. All those apps have umask settings (for sonarr it’s in Settings->Media Management->Permissions, but it’s an advanced setting, so you need to enable advanced settings in the top right of the settings page.

Thanks for the reply again Taloth. I might do a bit more testing now I know for sure how the settings in Sonarr relate and if I can’t get it to work then I will try a Windows based install of Sonarr.

thanks :slight_smile:

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