Created
July 3, 2017 16:08
-
-
Save andrewrynhard/c8c07624eecf03bb868f2ff0f110eb3f to your computer and use it in GitHub Desktop.
Fixes file and directory permissions to the default.
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 -print0 | xargs -0 chmod -v 0755 | |
find . -type f -print0 | xargs -0 chmod -v 0644 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment