What permissions required for file and folder In Magento?

A security Issue happen if Setting all the files & folders to 777 will make them writable by everyone.!

Normal Operation For the normal operation or installation of a Magento store, only 2 folders need to be writable:

/media - for web accessible files, such as product images

/var - for temporary (cache, session) and import/export files

Installation During installation Magento Install Wizard will create app/etc/local.xml file which contains database configuration and global encryption key for your Magento copy. Meaning app/etc folder has to be writable to web service.

Web based MagentoConnect manager If you wish to use web based downloader for installation, upgrades or MagentoConnect extensions installation, you will need to have write permissions on ALL magento files including the root Magento folder. Files and folders will need to be returned to 655 non-writable permissions after installation.

No comments:

Post a Comment