Tell me more ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

This seems like it should be easy, but...

My partner and I use a single Dropbox.com account to keep all of our joint projects synced up between our computers - and this has been working great for years. We've now added a MacBook Air to the mix, and we each have accounts on it and can grab it and go when we need to do some remote work.

I've been trying to get the Dropbox synced to the Air - but I want to have it in the "Shared" directory so that we both can access it - it shouldn't matter who is logged in. This doesn't seem to be working.

I can located the Dropbox in the shared directory fine - but when I change the user who is logged in that user has no permissions to sync the Dropbox or access the files.

I can get it to work if I create a separate ~/Dropbox folder for each user, but this ends up with 50GB duplicated twice over if the entire Dropbox syncs - a particularly ridiculous waste of space on an SSD.

Any ideas how to make this sharing work????

share|improve this question
1  
Seems like an edge case. You're asking Dropbox (and its associated file permissions) to work in a way for which it wasn't designed. I appreciate your wish to not dupe 50gb of data on an Air, but I'd fear possible problems introduced by solving this. The risk if data corruption isn't worth it—at least to me. – jaberg Jan 31 at 17:23
Dropbox would probably suggest Dropbox for teams – Mark Jan 31 at 17:57
1  
Allowing to specify a user group to give R&W to for new files would likely solve this. I've been manually resetting R&W to the Staff group on my machine for months without problems (similar to what MK suggests below). It would just be nice to have DB do this for me. – Sebastien Martin Feb 18 at 14:56

4 Answers

One method I've used with some success is to set the permissions on the folder to allow multiple user accounts to "Read & Write" to the /Users/Shared/Dropbox/ folder.

You can do this by:

  • Going to the Get Info (Cmd+i) window on the /Users/Shared/Dropbox folder
  • Unlocking to edit permissions
  • Clicking on the "+" icon to add another user account and setting the "Privilege" to "Read & Write"
  • Click on the gear triangle dropdown to the left of the lock icon, choose "Apply to enclosed items..." and confirm that you wish to do this (irreversible) change

I'm not very sure, but you may still have some permission related issues if you get files from another Mac's user account. That may require assigning ownership correctly.

share|improve this answer
This seems to work - but if I add new files to the Dropbox they end up causing sync issues for the second user until I do this again. – radven Nov 4 '12 at 15:37

While not a complete solution, you can choose which dropbox folders to sync on your second account, thus reducing the amount of HDD space required and unnecessary duplicate files.

share|improve this answer

My first thought would be to partition the HD (or SSD). One partition would have OS X, apps, user folders, etc., and the second would have only the Dropbox folder. Select the icon for the partition and check Ignore Permissions, and both users should have access. However, I've had volumes where I've checked Ignore Permissions revert so other users can't access this, but it's a quick fix.

share|improve this answer
I can see this working - but partitioning a drive just for Dropbox is a pretty heavyweight solution. Though... I wonder if a DMG disk image file could work as the home for it? – radven May 8 at 18:34

You can use umask to set up restriction to file permission. Default setting is 022 so file mask is 644 (or 755 for dirs). Simple way is to set umask 002 (in file /etc/profile or some others), but this leads to security issue.

Oops, this is answer on the file permission problem when 2 users work under one Dropbox account on the same PC.

And the second one remark Mac users must edit umask in files /etc/launchd-user.conf or /etc/launchd.conf (see http://support.apple.com/kb/ht2202 for details)

share|improve this answer
1  
This answer is confusing - why is the second paragraph here and the beginning of the third para is not clear either – Mark Feb 28 at 12:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.