Skip to content

Instantly share code, notes, and snippets.

@RiFi2k
Created March 6, 2017 23:47
Show Gist options
  • Save RiFi2k/45a991ed16c494488b14e39167446061 to your computer and use it in GitHub Desktop.
Save RiFi2k/45a991ed16c494488b14e39167446061 to your computer and use it in GitHub Desktop.
find /install-path/ -type d -exec chmod 755 {} \;
find /install-path/ -type f -exec chmod 644 {} \;
chmod 400 wp-config.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment