Created
August 17, 2014 17:04
-
-
Save austinpray/4d056c3f2032aac14efa to your computer and use it in GitHub Desktop.
Fix Dropbox permissions
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/bash | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment