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 Permission Issues, New Folders getting user's getting wrong group?

Featured Replies

So i recently noticed this issue after upgrading my unraid install to 6.2.4

 

I have a share with user bob that i connect to with my Mac. Now every time i create a folder with SMB from my Mac, the new folder inherits drwxrwxrwx 1 bob users  289 Jan  8 16:49

 

instead of drwxrwxrwx 1 nobody users  289 Jan  8 16:49

 

I went in manually via root ssh and fixed this but as you can imagine this is extremely annoying. How can i fix this?

  • Author

Is it actually causing a problem?

 

yes. when the folder is under the "bob" group, even if im connected to the network drive as bob via SMB on mac, it won't let me do renames or move the folder. Putting it back to "nobody" fixed the issue.. also, other users can't access the folder if its under the bob group

Unless I'm missing something, it shouldn't matter as

 

- Owner has rw

- Group has rw

- World has rw

 

Unless I'm missing something, it shouldn't matter as

 

- Owner has rw

- Group has rw

- World has rw

 

That would be my assumption too.  Unless the parent directory is root for instance, then that would take precedence over the files within it.  But the fact it works when changed to nobody would suggest that isn't the case.

 

bob is the user not the group. users is the group (admittedly that does sound somewhat confusing)

  • Community Expert

Is it actually causing a problem?

 

yes. when the folder is under the "bob" group, even if im connected to the network drive as bob via SMB on mac, it won't let me do renames or move the folder. Putting it back to "nobody" fixed the issue.. also, other users can't access the folder if its under the bob group

But what you showed us earlier

So i recently noticed this issue after upgrading my unraid install to 6.2.4

 

I have a share with user bob that i connect to with my Mac. Now every time i create a folder with SMB from my Mac, the new folder inherits drwxrwxrwx 1 bob users  289 Jan  8 16:49

 

instead of drwxrwxrwx 1 nobody users  289 Jan  8 16:49

 

I went in manually via root ssh and fixed this but as you can imagine this is extremely annoying. How can i fix this?

is saying that the new folder is user bob but group users. There isn't anything here about a "bob" group.
  • Author

Unless I'm missing something, it shouldn't matter as

 

- Owner has rw

- Group has rw

- World has rw

 

That would be my assumption too.  Unless the parent directory is root for instance, then that would take precedence over the files within it.  But the fact it works when changed to nobody would suggest that isn't the case.

 

bob is the user not the group. users is the group (admittedly that does sound somewhat confusing)

 

sorry, i meant to say that when i create a folder with the user "bob" on SMB, i get a folder owned by bob under the group users which subsequently cannot be moved or renamed.

  • Community Expert

Unless I'm missing something, it shouldn't matter as

 

- Owner has rw

- Group has rw

- World has rw

 

That would be my assumption too.  Unless the parent directory is root for instance, then that would take precedence over the files within it.  But the fact it works when changed to nobody would suggest that isn't the case.

 

bob is the user not the group. users is the group (admittedly that does sound somewhat confusing)

 

sorry, i meant to say that when i create a folder with the user "bob" on SMB, i get a folder owned by bob under the group users which subsequently cannot be moved or renamed.

But everyone has full access as indicated by
drwxrwxrwx 1 bob users
Are you sure something else isn't going on? Maybe a read-only filesystem due to corruption perhaps?

I can chown a folder to a different user than my SMB user and am fully able to move / do whatever to it over SMB from a Windows Box

 

Incidentally I like the username always thought it was spelled Amikacin though....  ;D

Archived

This topic is now archived and is closed to further replies.

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.