Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@austinpray
Created August 17, 2014 17:04
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 austinpray/4d056c3f2032aac14efa to your computer and use it in GitHub Desktop.
Save austinpray/4d056c3f2032aac14efa to your computer and use it in GitHub Desktop.
Fix Dropbox permissions
#!/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