Skip to content

Instantly share code, notes, and snippets.

@ChristopherA
Created November 26, 2019 23:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ChristopherA/3070891af0ee23b9f24a882d752d467b to your computer and use it in GitHub Desktop.
Save ChristopherA/3070891af0ee23b9f24a882d752d467b to your computer and use it in GitHub Desktop.
Fix Dropbox Permissions Resync Issue

Problem

Before a reboot, my Dropbox is fully synced.

After I reboot, I get a message saying that Dropbox needs to set permissions on my Dropbox folder, and then it does a full resync check of my very large Dropbox folder, which can take hours or overnight on a slow connection.

Solution

The problem may be symlinks set by older apps (Dropbox does not support symlinks INSIDE the dropbox folder as of 2019).

find ~/Dropbox -type l -exec ls -lah {} \;

And then unlink them.

However, in my case it wasn't this, it was that some files were set with an unusual flag "immutable".

To fix: shutdown Dropbox app and app menu.

sudo chflags -R nouchg ~/Dropbox
sudo chmod -R u+rw ~/Dropbox
sudo chown -R christophera ~/Dropbox
sudo mv ~/.dropbox ~/.Trash/dropbox.old
sudo mv /Library/DropboxHelperTools ~/DropboxHelperTools.old

You also may want to consider deleting the old app and reinstalling Dropbox after these shell commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment