SMB File Sharing Permissions

Created at: 2021-05-15 14:28:59
Questioner General

I’m using a Mac mini as a file server (SMB) but regardless of permissions setting on the connected HD’s or permissions settings in System Preferences>Sharing>File Sharing, any user can connect to the Mac mini and view all drives and folders. Normally a user would only have access to drives and folders I have set permissions to allow.



I feel like I have have tried everything: users are de-selected in “share files and folders using SMB”, I have checked and unchecked “File Sharing” on the Mac Mini, multiple reboots, created new user profiles with no permission access to the Mac Mini HD’s, all to no avail. Computers are all running MacOS 11.6.

Answer #1:

By: Derek Weimann

I’m using a Mac mini as a file server (SMB) but regardless of permissions setting on the connected HD’s or permissions settings in System Preferences>Sharing>File Sharing, any user can connect to the Mac mini and view all drives and folders. Normally a user would only have access to drives and folders I have set permissions to allow.



I feel like I have have tried everything: users are de-selected in “share files and folders using SMB”, I have checked and unchecked “File Sharing” on the Mac Mini, multiple reboots, created new user profiles with no permission access to the Mac Mini HD’s, all to no avail. Computers are all running MacOS 11.6.

Answer #2:

By: Ali Dietrich

Normally a user would only have access to drives and folders I have set permissions to allow.

"File Sharing" on macOS is essentially logging into the Mac remotely. When you log in via File Sharing, you are logging into that Mac just as if you logged into it directly. The user you log into has the same permissions as if logged in directly.



You should create Sharing Only users on the Host Mac, then give those users access to the folders you wish them to see.

If you have groups of users who need access to different areas, you can create groups, add the users to the groups, and give the groups access to their folders.

Answer #3:

By: Clementina Walker

Thank you, I will try that.



Is this a functionality that has recently changed because up until recently this has not been an issue?

Answer #4:

By: Jermey Doyle

No, it has always worked this way.

Answer #5:

By: Tony Bogisich

Interesting… I setup a ‘Sharing Only’ account on the mini and formatted a drive with permission allowing access by me only (admin). Permission for ‘Everyone’ is set to ‘No Access’ and I see the same behavior. When I login to the mini using a second Mac via the ‘Sharing Only’ account, all drives are accessible and visible regardless of permissions.



Also, I have never used a ‘Sharing Only’, account. I have up until now always setup the user as ‘Standard’ and could determine access by setting permission in Setting>Sharing>File Sharing>Shared Folders>Users.



Any other thoughts on why this would stop working? Drive issue? Something with the credentials on the user Mac? Thanks!!

Answer #6:

By: Lexie Berge V

Did you set up the permissions in File Sharing?

How is the external drive formatted?