Q: Granting full control for every user on folder Users/Shared?
I want to put shared Pictures used by multiple users locally on the Users/Shared folder
Every user should have full control (read / write) of each file. And also read / write for every new file.
I've tried different things but couldn't achieve that. On Windows it's quite easy but how can I achieve that on osx?
Posted on Jun 30, 2015 5:28 AM
By default, that is what happens.
I would create another folder inside Shared to use as the repository, then set ACLs on that folder that will allow everyone to modify the files that other users make.
You'll have to create a group to put every user into. You can do that in Users & Groups. It is just like creating a user, but change the type to Group. Then, check the users you want to have access to that folder.
Then, this is the ACL and the command you need to add to that folder:
sudo chmod -R +a "groupname allow delete,chown,list,search,add_file,add_subdirectory,delete_child,file_inherit,directory_inherit"
Change groupname to whatever you named your group. The part before the quotes is the command to add the ACL, and the quoted part is the ACL.
So, anything created by one user in that group will be editable by others in the group.
Posted on Jul 19, 2015 2:55 PM