Created
March 3, 2016 15:01
-
-
Save h4n2k/c6f6bc88f8e21388c9f8 to your computer and use it in GitHub Desktop.
apache folder & file permission
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
Run the following two commands from your WEBSITE root directory, | |
it will recursively change all directory permission to 755, | |
and all file permissions to 644: | |
find . -type d -exec chmod 755 {} \; | |
find . -type f -exec chmod 644 {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment