Created
November 8, 2013 23:57
-
-
Save rrdial/7379539 to your computer and use it in GitHub Desktop.
Generally correct permissions for files and folders on Mac. Borrowed from http://www.linuxquestions.org/questions/linux-general-1/chmod-all-files-644-and-files-755-a-542059/.
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 -print0 | xargs -0 chmod 0755 # For directories | |
find . -type f -print0 | xargs -0 chmod 0644 # For files |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment