Skip to content

Instantly share code, notes, and snippets.

@zdravkok
Created May 14, 2014 13:51
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 zdravkok/7fe980b0a4da08dda281 to your computer and use it in GitHub Desktop.
Save zdravkok/7fe980b0a4da08dda281 to your computer and use it in GitHub Desktop.
Magento reset permissions
sudo find . -type f -exec chmod 644 {} \;
sudo find . -type d -exec chmod 755 {} \;
sudo chmod o+w var var/.htaccess app/etc
sudo chmod 550 mage
sudo chmod -R o+w media
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment