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.

Docker app unable to access local SMB share

Featured Replies

This started when I updated to 6.10.2, but it took me a little while to figure it out.  Currently on 6.10.3.

 

I have several shares that are shared with SMB enabled and the server is domain joined.  I am using the default configuration, no extra SMB options set.  I have no issues accessing anything remotely, regardless of the guest OS.  However, after I updated to 6.10.2 my containers are no longer able to locally access the data, specifically Plex.  Thinking maybe somehow permissions on that specific share got borked somehow I created a new share, set default SMB permissions, then copied a couple of files to it.  Still got the same error.

 

Jun 27 09:46:31 Dalinar smbd[9186]:   chdir_current_service: vfs_ChDir(/mnt/user/movies2) failed: Permission denied. Current token: uid=554697824, gid=554697219, 2 groups: 554697824 554697219

 

What's weird is that the uid and gid resolve to the name of my client PC and "domain computers".  This doesn't make any sense to me.

 

Current perms for this example.  My local username replaced with (name), files in the directories show the same permissions as the directories themselves:

 

root@Dalinar:/mnt/user/movies2# ls -al
total 0
drwxrwx---+ 1 (name) domain admins  90 Jun 27 09:46 ./
drwxrwxrwx  1 (name) domain admins 169 Jun 27 09:39 ../
drwxrwx---+ 1 (name) domain users  122 Jun 27 09:46 (Directory 1)/
drwxrwx---+ 1 (name) domain users  132 Jun 27 09:45 (Directory 2)/

 

If I use the New Permissions tool and overwrite all of the permissions to defaults then it works fine. 

 

root@Dalinar:/mnt/user/movies2# ls -al
total 0
drwxrwxrwx+ 1 nobody users          90 Jun 27 09:46 ./
drwxrwxrwx  1 (name)    domain admins 169 Jun 27 09:39 ../
drwxrwxrwx+ 1 nobody users         122 Jun 27 09:46 (Directory 1)/
drwxrwxrwx+ 1 nobody users         132 Jun 27 09:45 (Directory 2)/

 

However the second I copy something new to the server, it's created with Windows username & group permissions and again, Plex cannot read the new file.

 

root@Dalinar:/mnt/user/movies2# ls -al
total 0
drwxrwxrwx+ 1 nobody users         110 Jun 27 11:01 ./
drwxrwxrwx  1 (name)    domain admins 169 Jun 27 09:39 ../
drwxrwxrwx+ 1 nobody users         122 Jun 27 09:46 (Directory 1)/
drwxrwxrwx+ 1 nobody users         132 Jun 27 09:45 (Directory 2)/
drwxrwx---+ 1 (name)    domain users   98 Jun 27 11:01 (Directory 3)/

 

I've searched for similar issues but have come up dry.  If anyone has any idea how fix this without me having to log in to the server and use the Permissions tool every single time I copy something to the server I'd appreciate it!  Thank you!

dalinar-diagnostics-20220627-1053.zip

  • Author

Thank you for the suggestions @JorgeB.  My appdata files WERE owned as root:root, so that's fixed.  I also tried running the script in the second link.  Unfortunately no effect.  

 

The nuclear strike option in the second link works.  So basically nobody:users cannot access the files owned as (user):domain users.  I need to drill down further to find the root cause/fix rather than just run Plex as root, as that is not an ideal situation.

Edited by halestorm
spelling

  • 8 months later...

Hi @halestorm - Did you manage to find a root cause in your setup? Thanks,

Edited by User01

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.