find . -type f -exec chmod 400 {} \; <br/> find . -type d -exec chmod 500 {} \; <br/> find var/ -type f -exec chmod 600 {} \; <br/> find media/ -type f -exec chmod 600 {} \;<br/>\; find var/ -type d -exec chmod 700 {} \; <br/> find media/ -type d -exec chmod 700 {} \;<br/>\; chmod 700 includes <br/> chmod 600 includes/config.php Also detailed information is available on, http://devdocs.magento.com/guides/m1x/install/installer-privileges_after.html