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

dropboxmac

I am running DropBox on a few computers, but one of those computers (a Mac) I have multiple accounts on. One account is for general usage and the other account is for software development. I'd like both computer accounts to access the same DropBox account, but ideally using the same folder on the computer so that one account isn't downloading the same files the other account just downloaded.

I tried putting my DropBox folder in /Users/Shared/DropBox but I end up with permission issues since files default to being owned by one account and not the other.

I suspect I'd need to create a group which both users are a member of and then make sure files are always group readable/writeable. Does anybody have better suggestions?

Best Answer

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.

Related Question