1

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.

5
  • Have you tried /Users/Shared/Documents ?
    – Tetsujin
    2 days ago
  • 1
    @Tetsujin It has the same issue. Newly created files and folders can't be written to by the other user.
    – Bri Bri
    2 days ago
  • Can you indicate what exactly you've tried with unix permissions and ACL's? I think if you add both users to the same group and set GID on the directory it should work. 2 days ago
  • @SaaruLindestøkke I've tried setting the "set GUID" bit on the folder, set the folder's group to one shared by both users, and then set the 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.
    – Bri Bri
    yesterday
  • Can you perhaps share the 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? yesterday

0

You must log in to answer this question.

Browse other questions tagged .