Created
April 8, 2015 18:19
-
-
Save StevenBlack/c0335e8496b4ac881318 to your computer and use it in GitHub Desktop.
Dropbox Reset
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Source: https://www.dropbox.com/en/help/72 | |
# Terminate Dropbox, then... | |
sudo chflags -R nouchg ~/Dropbox ~/.dropbox ~/.dropbox-master | |
sudo chown "$USER" "$HOME" | |
sudo chown -R "$USER" ~/Dropbox ~/.dropbox ~/.dropbox-master | |
sudo chmod -RN ~/.dropbox ~/Dropbox ~/.dropbox-master | |
chmod -R u+rw ~/Dropbox ~/.dropbox ~/.dropbox-master | |
# ... now restart Dropbox |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment