Skip to content

Instantly share code, notes, and snippets.

@bublick
Created October 20, 2020 14:15
Show Gist options
  • Save bublick/f5d87dfb58bf977b6e65504289d2d90d to your computer and use it in GitHub Desktop.
Save bublick/f5d87dfb58bf977b6e65504289d2d90d to your computer and use it in GitHub Desktop.
Right wordpress' permissions
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