Skip to content

Instantly share code, notes, and snippets.

@emmanuelbarturen
Created December 24, 2017 13:38
Show Gist options
  • Save emmanuelbarturen/81fbab24dfe5e7ab925196d26db88713 to your computer and use it in GitHub Desktop.
Save emmanuelbarturen/81fbab24dfe5e7ab925196d26db88713 to your computer and use it in GitHub Desktop.
wordpress permission recomended
chown www-data:www-data -R * # Let Apache be owner
find . -type d -exec chmod 755 {} \; # Change directory permissions rwxr-xr-x
find . -type f -exec chmod 644 {} \; # Change file permissions rw-r--r--
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment