Created
April 24, 2015 15:43
-
-
Save marciuz/005ad1d2b3f694e0aabc 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
alias wwwperm="find . \( -type d -exec chmod -v 755 '{}' \; \) -o \( -type f -exec chmod -v 644 '{}' \; \)" |
find . -type f -exec chmod 664 {} ;
find . -type d -exec chmod 775 {} ;
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
find . -type f -exec chmod 644 {} ;
find . -type d -exec chmod 755 {} ;