Skip to content

Instantly share code, notes, and snippets.

@badfeather
Created November 3, 2022 18:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save badfeather/2da4f5dee28259d9a9c66fe8f29b8926 to your computer and use it in GitHub Desktop.
Save badfeather/2da4f5dee28259d9a9c66fe8f29b8926 to your computer and use it in GitHub Desktop.
  1. cd to website directory
  2. Set file permissions to 644: find . -type f -exec chmod 644 {} \;
  3. Set directory permissions to 755: find . -type d -exec chmod 755 {} \;
  4. Change wp-config.php permissions to 660: chmod 660 wp-config.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment