magento file permissions

Directory structure to be followed while installing magento

 find . -type d -exec chmod 755 {} \;
 find . -type f -exec chmod 644 {} \;
 chmod -R 777 var/
 chmod -R 777 app/etc/
 chmod -R 777 media/

Magento : Invalid file permissions, could not save configuration

Invalid file permissions, could not save configuration This problem came when you’ll save settings on your magento connect .Actually file permission is the main problem in magento and when you are dealing with Linux .So again a tiny Shell script will solve this issue

chgrp apache downloader/config.ini
chmod g+rw downloader/config.ini

//if above setting do not work then only try 
chmod -R 777 downloader

Thanks to :

Share on Facebook

About Pragnesh Karia

Pragnesh Karia, Open Source Enthusiast, Software Professional, Software Developer, Technical Lead ,Magento, Joomla ,Joomla LMS , Moodel LMS ,PHP ,Mysql, Ajax, Javascript, Jquery, Linux, Fan of Open Sources , Annet Technologies , SEO Analyst , Mootools