6
3
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?
I think the issue is that the Dropbox process needs to be running with umask 002 in order to create files that read/write for the group. On a Mac, you can have all user processes set to run with umask 002 by creating the file /etc/launchd-user.conf and adding a single line 'umask 002'. See this page for more details: http://support.apple.com/en-us/HT201684
– kldavis4 – 2014-12-12T20:19:50.837The problem is I need to do that for every new file/directory I create. I'm looking for a way where I don't have to do that. I love how transparent DropBox is and want to keep it that way. – Brian Kelly – 2011-06-14T14:32:47.890
You have one DropBox folder right? So set the permissions for that DropBox folder and add the
-R
flag to the command to make it recursive for the folders and files inside the folder. – paradd0x – 2011-06-14T14:35:28.6831Using the group sticky bit will do what you want.
chmod -R g+s Dropbox
– Chris Nava – 2011-06-14T14:57:06.077I will try this when I get back to the Mac in question. Thanks, guys. – Brian Kelly – 2011-06-14T15:09:46.570
The sticky bit solution doesn't seem to work. I set the sticky bit, create a file and it's still only user writable. – Brian Kelly – 2011-06-16T02:17:25.007
I think Darth Android has the best instructions. Did you follow that? – paradd0x – 2011-06-16T12:09:36.917