This tutorial will work for any version of Magento. This lessons and tips must be used when proper permissions is needed, next cases:
– Installing of a Magento theme;
– After installing an extension, when receive the error “Not Found” in Magento -> Admin -> Configuration -> System -> Extension not working /(or)/ The extension is not showing any settings. The problems are with your Magento permissions.
– When trying to install a Magento Extension in Magento Connect Manager:
How to reset Magento permissions?
The next SSH commands are 100% safe to run within the directory where Magento is installed:
find . -type f -exec chmod 644 {} ;
find . -type d -exec chmod 755 {} ;
chmod o+w var var/.htaccess app/etc
chmod 550 mage
chmod -R o+w media
If you still receive errors like: “Warning: Your Magento folder does not have sufficient write permissions“, try to set up all directories to 777 by doing this:
find . -type f -exec chmod 644 {} ;
find . -type d -exec chmod 777 {} ;
chmod o+w var/.htaccess
chmod 550 mage