Skip to content

Instantly share code, notes, and snippets.

@annalinneajohansson
Last active August 29, 2015 14:14
Show Gist options
  • Select an option

  • Save annalinneajohansson/d586186fea3b0851ed8a to your computer and use it in GitHub Desktop.

Select an option

Save annalinneajohansson/d586186fea3b0851ed8a to your computer and use it in GitHub Desktop.
"What do I do if Dropbox is stuck syncing, won't launch, or reports an error?" https://www.dropbox.com/help/72
#!/bin/bash
## If your Dropbox folder is not ~/Dropbox, make sure you modify all the commands to point to the correct location.
sudo chown "$USER" "$HOME"
sudo chown -R "$USER" ~/Dropbox ~/.dropbox ~/.dropbox-dist
sudo chattr -R -i ~/Dropbox
sudo chmod -R u+rw ~/Dropbox ~/.dropbox ~/.dropbox-dist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment