Created
April 14, 2015 10:19
-
-
Save plasticut/4af291e716f6775d04f6 to your computer and use it in GitHub Desktop.
Set recursive file access rights
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
# read & exec perm for dirs | |
find ./ -type d -print0 | xargs -0 chmod 755 | |
# read perm for files | |
find ./ -type f -print0 | xargs -0 chmod 644 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment