Skip to content

Instantly share code, notes, and snippets.

@rickbenetti
Created August 19, 2014 15:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save rickbenetti/cb10a001ca66390096d9 to your computer and use it in GitHub Desktop.
Save rickbenetti/cb10a001ca66390096d9 to your computer and use it in GitHub Desktop.
From http://stackoverflow.com/questions/18352682/correct-file-permissions-for-wordpress Just correct folder and files permissions for magento and wordpress to.
chown -R _www:_www * # Let apache be owner
sudo find . -type d -exec chmod 755 {} \; # rwxr-xr-x
sudo find . -type f -exec chmod 644 {} \; # rw-r--r--
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment