Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SMB Shares / Docker Permissions Advice

Featured Replies

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.

Solved by Frank1940

  • 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. 

  • 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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.