You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

file sharing - access rights problem with new created folders

Hello,


when sharing a folder (on Monterey 12.5.1) with other users (created "only sharing" users) everything works fine with existing folders but as soon i create a new folder in the shared folder other users connected to the same folders over the network don't have rights to this new created folder.


Only after reapplying the folders rights they gain access.


Same problem arises when other users connected to the shared folders create new folders in the shared folder.


It is not about the MacOS version connected clients use since the same problem happens when connecting from Monterey clients and Big Sur and Mojave.


Any clue ?

MacBook Air 13″, macOS 12.2

Posted on Sep 7, 2022 5:01 AM

Reply
Question marked as Top-ranking reply

Posted on Sep 7, 2022 5:44 AM

You need to create an ACL on the Parent folder (and propagate to current subfolders).

This ACL will allow users to create files that everyone in the group can edit, no matter who created them and the permissions will be inherited by new objects:

chmod -R +a "group:<groupName> allow list,add_file,search,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,reads ecurity,file_inherit,directory_inherit" "Path/to/directory/"

You'll need to create a Group in Users & Groups, add all users to the group, and edit the above for the group name and path to the topmost directory.


What you have done is merely enable File Sharing. That is not equivalent to a "File Server" which is what you are trying to achieve.


The Server app doesn't do this anymore, but this article has instructions for the Terminal and describes most of the process.

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

Similar questions

1 reply
Question marked as Top-ranking reply

Sep 7, 2022 5:44 AM in response to Mike_BZ

You need to create an ACL on the Parent folder (and propagate to current subfolders).

This ACL will allow users to create files that everyone in the group can edit, no matter who created them and the permissions will be inherited by new objects:

chmod -R +a "group:<groupName> allow list,add_file,search,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,reads ecurity,file_inherit,directory_inherit" "Path/to/directory/"

You'll need to create a Group in Users & Groups, add all users to the group, and edit the above for the group name and path to the topmost directory.


What you have done is merely enable File Sharing. That is not equivalent to a "File Server" which is what you are trying to achieve.


The Server app doesn't do this anymore, but this article has instructions for the Terminal and describes most of the process.

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

file sharing - access rights problem with new created folders

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