Created
July 6, 2017 09:12
-
-
Save Kyborg2011/cab545a12908e8901c9c95d5c48a3bbc to your computer and use it in GitHub Desktop.
Change all files and folders permissions of a directory to 644/755
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