Created
November 20, 2012 20:21
-
-
Save caine/4120794 to your computer and use it in GitHub Desktop.
command sets 755 to directories and 644 to files
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
find ./* \( -type d -exec chmod 775 '{}' \; \) , \( -type f -exec chmod 664 '{}' \; \) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment