Created
October 5, 2016 00:17
-
-
Save JakeDEvans/0761dd902bee40574ccb3b4ec41081cc to your computer and use it in GitHub Desktop.
find and update file permissions for typical wordpress install
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
#$PWD = webroot | |
sudo find . -type d -exec chmod 755 {} \; | |
sudo find . -type f -exec chmod 644 {} \; | |
sudo chmod 444 wp-config.php .htaccess |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment