Created
September 24, 2013 04:54
-
-
Save o-shabashov/6680529 to your computer and use it in GitHub Desktop.
Linux - to change all the directories to 755 and to change all the files to 644
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
to change all the directories to 755: | |
find /opt/lampp/htdocs -type d -exec chmod 755 {} \; | |
to change all the files to 644: | |
find /opt/lampp/htdocs -type f -exec chmod 644 {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment