Skip to content

Instantly share code, notes, and snippets.

@JakeDEvans
Created October 5, 2016 00:17
Show Gist options
  • Save JakeDEvans/0761dd902bee40574ccb3b4ec41081cc to your computer and use it in GitHub Desktop.
Save JakeDEvans/0761dd902bee40574ccb3b4ec41081cc to your computer and use it in GitHub Desktop.
find and update file permissions for typical wordpress install
#$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