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

Permissions in a folder are not applied to new files added by users over shared network

New files added to a shared folder do not inherit the permissions of the folder but rather retain the permissions of the user. Because the purpose of the folder on the network is to allow multiple users access to all the files (read and write), these new files cannot be accessed and editd by others.Is there a way to have the new files automatically inherit the folder permissons? I am aware of the "Apply to enclosed items " drop-down in the Get Info window but this is not practical given the number of new files that are produced and filed.


THanks,

JD

MacBook Pro, Mac OS X (10.7.4)

Posted on Feb 22, 2013 7:53 AM

Reply
3 replies

Feb 22, 2013 11:57 AM in response to Jim Dysart

If it's the folder is on the boot drive then the only way to accomplish this is with a combination of groups and ACL's as far as I know. There may be other ways but this is the one I know.


You say the folder is on the network but is on the boot disk, how are you setting this up and are the users accessing this all from Mac's? And they all have accounts on this Mac?


In a nutshell you would setup a group that all the users needing to access the folder belong to and then setup the ACL on the fodder so that all member's of that group will have full permission to whatever is in the folder.


So first in Users&Groups create a group for this and add all the users who need access.


The do to the folder and change its group to the group you created and change its mode to 775 (or 770 if you don't want anyone else having even read access on the folder)


Then enter this

sudo chmod -R +a "GroupNameCreated allow delete,chown,list,search,add_file,\

add_subdirectory,delete_child,file_inherit,directory_inherit" folderToChange


Now the weird thing is if you look at files in the folder they will appear to have the normal Unix mode of 644 but anyone in the group will have read, write and delete permission on the items in the folder.


I suggest you play with this on a test folder and seeing if it meets your needs before changing the working folder.


Also this will not change anything already in the folder it only applies to newly created files/folders


regards

Permissions in a folder are not applied to new files added by users over shared network

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