Last active
November 21, 2016 08:49
-
-
Save MikeNGarrett/f7674d6a01c70ffdbf00 to your computer and use it in GitHub Desktop.
Change file permissions to 664, directory permissions to 775
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
// Run this from the command line. | |
// h/t: http://superuser.com/questions/91935/how-to-chmod-755-all-directories-but-no-file-recursively#answer-91966 | |
// add read/execute to world, remove write | |
chmod -R u+rwX,g+rwX,o+rX-w path/ | |
// remove read/write/execute from world | |
chmod -R u+rwX,g+rwX,o-rwX path/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment