Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@lukaszkorecki
Created January 25, 2010 12:47
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 lukaszkorecki/285837 to your computer and use it in GitHub Desktop.
Save lukaszkorecki/285837 to your computer and use it in GitHub Desktop.
# fix file permissions across net shares and stuff
# typical web-dev type permissions,
# however you might adjust it accordingly
# fix files
sudo find -name '*' -type 'f' -exec chmod 664 {} \;
#fix directories
sudo find -name '*' -type 'd' -exec chmod 775 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment