-
-
Save WISHPRO/365fa70b2a731a1e22ac0e621d9987e8 to your computer and use it in GitHub Desktop.
CHMOD all files to 644 and directories to 755
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 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