How to set up multiple users on the same computer using the same DropBox folder?

Solution 1:

Give both users the same permissions for the folder using chmod

If you want to give permissions to all users to read, write, execute put in sudo chmod -R a+rwx [folder name] in the Terminal.

UPDATE:

The above command only does it for the directory as it is, any new files/directories created will not inherit the permissions.

Put in chmod -R g+s [folder name] and this will set the permissions recursively and any future files and folders will have the correct permissions.

Run both commands to achieve sharing between the users of the DropBox folder.

Solution 2:

  1. First, move dropbox and clear out the /Users/Shared/DropBox/ folder (to simplify things, otherwise it's a good bit of manual work to fix all the permissions).
  2. Create a new group, call it DropBox
  3. Add both of your user accounts to the group DropBox
  4. Create the shared folder again if it doesn't already exist (mkdir /Users/Shared/DropBox)
  5. Set permissions on the folder:
    chown root:DropBox /Users/Shared/Dropbox/ chmod 0770 /Users/Shared/DropBox/ chmod g+s /Users/Shared/DropBox/
  6. Set Dropbox to point to that folder