Skip to content

Instantly share code, notes, and snippets.

@jackreichert
Last active December 18, 2015 20:38
Show Gist options
  • Save jackreichert/5841404 to your computer and use it in GitHub Desktop.
Save jackreichert/5841404 to your computer and use it in GitHub Desktop.
What to run after installing WordPress to set file permissions and ownership.
chown -R apache:apache .
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