I have a folder that I need for two different user accounts to be able to fully access.
Both user accounts need to be able to read and write to all of the files within this folder, including its subdirectories.
Any new files or folders created by either user anywhere within this directory or any of its subdirectories need to be both readable and writeable by the other user.
Both users need to be able to delete any file within this folder or its subdirectories.
Is there a way to accomplish this?
What I've tried
I've tried using the
/Users/Shared/Documents
. Unfortunately files and folders created by one user can't be written to by the other user.I've tried setting the:
- "set GUID" bit on the folder
- folder's group to one shared by both users,
- folder's permissions to
775
But every time either user creates a new file, its permissions will be
644
and the other user won't be able to write to it.
/Users/Shared/Documents
?ls -l
output of the folder you've tried setting the GUID on? It would show if the bit is actually set. Another idea to look into: umasks. Perhaps these will persist the group setting?