Skip to content

Instantly share code, notes, and snippets.

@octavioamu
Created March 17, 2015 19:06
Show Gist options
  • Select an option

  • Save octavioamu/6d66172f7084a8ec0ab8 to your computer and use it in GitHub Desktop.

Select an option

Save octavioamu/6d66172f7084a8ec0ab8 to your computer and use it in GitHub Desktop.
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