Created
April 24, 2016 12:32
-
-
Save spuf/f2d5b8889624912b58acb6a125d352d1 to your computer and use it in GitHub Desktop.
Restore chmod recursively
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
chmod -R u=rwX,go=rX . | |
find . -type f -exec chmod -x {} \; | |
chmod -R -N . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment