Skip to content

Instantly share code, notes, and snippets.

@Tmeister
Created August 11, 2021 16:44
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 Tmeister/aaefe1019900d1d91b498090f9305ee3 to your computer and use it in GitHub Desktop.
Save Tmeister/aaefe1019900d1d91b498090f9305ee3 to your computer and use it in GitHub Desktop.
Fix Files and Folder Permissions WordPress
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