Created
January 25, 2010 12:47
-
-
Save lukaszkorecki/285837 to your computer and use it in GitHub Desktop.
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
# 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