File Sharing user and group permissions get messed up on Sequoia

I have a Mac Mini M2 Pro being used as a file server. There are users and groups set up with three shared folders. SMB file sharing is turned on with the appropriate users and groups for accessing them. The permissions have been propogated to the files within.


Slowly and ramdomly the permissions get ignored. For instance, if the group "ALL" has full permission to access "FILE", different users can open and save files for a while but eventually it will allow only the last user to manipulate the file (without propogating permissions again). Similarly, eventually the user "BILL" can add a new file to the folder but only "BILL" can do anything with it even though he's in the group "ALL". Again, the permissions need to be propogated.


I tried to set an auto-restart time every night, thinking the age of leaving a Mac on is now over, but they even took that away from the power save system setting.


It's getting to be a really old and waste of time process.


Any ideas how to fix this once and for all?


Mac mini (M2 Pro, 2023)

Posted on Mar 19, 2025 2:58 PM

Reply
4 replies
Sort By: 

Mar 20, 2025 11:53 AM in response to PaulNS

Basic file sharing does not provide file server access. You need to add an access control list that will actually propagate the correct access.


https://techion.com.au/blog/2018/6/9/share-with-directory-permission-inheritance


however, file sharing in Sequoia seems to not work correctly in that you must give the users full disk access for them to have any access at all.

Reply

Mar 21, 2025 8:00 AM in response to Barney-15E

Thanks for sharing this article. At first I was excited to use the Server app because I'm familiar with it. Sadly the download I have available is no longer compatible. I started looking at the Terminal commands and my brain exploded. It will require further reading and a clear head. Sequoia certainly seems buggy. I was kicking around the folder permissions screen to see if any further options for inheritance were available but sadly I don't see anything other than the standard Read/Write/None options for groups. I suspect I'm going to have to call Apple Support to get this resolved.

Reply

Mar 21, 2025 8:48 AM in response to PaulNS

I was kicking around the folder permissions screen to see if any further options for inheritance were available but sadly I don't see anything other than the standard Read/Write/None options for groups. I suspect I'm going to have to call Apple Support to get this resolved.

Yes, all “file server” things were manage in the Server app. Basic File Sharing never did any of that. I’ve heard there are third-party GUI interfaces for those things, but I’ve never used any. I searched the Internet and came up empty.

Reply

Apr 3, 2025 9:28 AM in response to Barney-15E

This worked for me based on some guidance provided on another post:

Thanks for this information @generatech - I did something similar and it appears to have worked (so far) with the help of chatGPT (I'm no good with Terminal and I couldn't copy / paste and manipulate your code with success).


move file folders for sharing to home folder

turn off file sharing

run the following in Terminal:

# Step 1: Change group ownership of the folder and all its contents

sudo chgrp -R GROUPNAME /Users/USERNAME/"FILENAME"


# Step 2: Give group members read, write, and execute permissions (rwx)

sudo chmod -R 770 /Users/USERNAME/"FILENAME"


# Step 3: Set the setgid bit so new files inherit the group

sudo chmod -R g+s /Users/USERNAME/"FILENAME"

Repeated for any shared folders with different group name access.

Turned file sharing back on

Staff tested today and so far they're all celebrating.


Hopefully this continues to hold. Such a buggy OS.

Reply

File Sharing user and group permissions get messed up on Sequoia

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.