Created
April 4, 2016 10:35
-
-
Save pwaldhauer/d06309943127eeb86eb427d80c247449 to your computer and use it in GitHub Desktop.
Better chmod all
This file contains hidden or 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 755 {} \; | |
find . -type d -exec chmod 775 {} \; | |
find . -type f -exec chmod 644 {} \; // rw---- | |
find . -type f -exec chmod 664 {} \; // rwrw-- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment