Resetting File Permissions
If you run in an environment that does not have suEXEC, like one where PHP is running as an Apache module, here’s how to reset your file and directory permissions:
- find . -type f -exec chmod 644 {} \;
- find . -type d -exec chmod 755 {} \;
- chmod o+w var var/.htaccess app/etc
- chmod 550 pear
- chmod -R o+w media
The above commands need to be executed from the root directory where Magento is installed.




