Created
September 28, 2018 14:39
-
-
Save deshabhishek007/a1df4d64104e4f49455da55136e12f14 to your computer and use it in GitHub Desktop.
Reset File Permission of Linux Server Machine
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 public_html -type d -perm 0777 -exec chmod 755 {} \; | |
find public_html -type f -perm 0666 -exec chmod 644 {} \; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
chmod -R 644 *
find . -type d -exec chmod 0755 {} ;