Skip to content

Instantly share code, notes, and snippets.

@betojsx
Created April 6, 2019 04:24
Show Gist options
  • Save betojsx/fb9a407d62c94120374bd4d2909f63bf to your computer and use it in GitHub Desktop.
Save betojsx/fb9a407d62c94120374bd4d2909f63bf to your computer and use it in GitHub Desktop.
Correct WordPress Folders / Files Permissions
chown $USER:www-data -R *
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