November 22, 20232 yr Hi all. I've recently built a new home server and decided to switch over to Unraid. After setting up various shares I've created a user with read / write permission for my SMB shares. Using the user with read / write permission I've copied all the data across from my old server. I then set up other users who just have read access to this data. All is good and the permissions work as expected for the shares. I've now set a few Dockers up, these could read the data as expected. My problem now is I've allowed Sonarr to rename some of my library, the SMB user with read / write access can now only read any of the folder / files Sonarr has touched. Windows states "You require permission from UNRAID\digiex to make changes to this file" yet I am accessing that share from windows as UNRAID\digiex. TV series Sonarr has renamed and made the SMB user read only: root@Unraid:/mnt/user/TV/NotWorkingSeries/Season 1# ls -al total 83224578 drwxr-xr-x 1 nobody users 26 Nov 22 10:06 ./ drwxrwxrwx 1 digiex users 13 Nov 22 10:06 ../ -rwxrw-rw- 1 digiex users 4261849792 Sep 30 23:56 NotWorkingSeries\ -\ S01E01\ -\ Pilot\ -\ Bluray-1080p.mkv* TV series only the SMB user has accessed and can still read / write to: root@Unraid:/mnt/user/TV/WorkingSeries/Season 01# ls -al total 39544848 drwxrwxrwx 1 digiex users 12 Nov 9 17:55 ./ drwxrwxrwx 1 digiex users 3 Nov 9 17:45 ../ -rwxrw-rw- 1 digiex users 4879437296 May 29 12:54 WorkingSeries\ -\ S01E01\ -\ Pilot\ -\ Bluray-1080p.mkv* The Sonarr Docker: PUID: 99 PGID: 100 UMASK: 022 Essentially what I'm asking is how can I allow the SMB permissions to work as set in the Unraid UI, yet still allow Dockers to manipulate the data without breaking the SMB permissions? Thanks for any advice.
November 22, 20232 yr Community Expert Solution Try making the UMASK 000 You will probably have run the TOOL New Permissions on the TV share to fix the current permission issue.
November 23, 20232 yr Author Perfect, setting the UMASK to 000 and running New Permissions on that share resolved the issue as desired. Thanks a lot for the advice!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.