How to assign linux permissions (medium-safety version)

Last modified by amartinez on Thu, June 24, 2010 15:17
Source|Old Revisions  

This is an old revision of the document!


chown -R ftpuser:apache /var/www/magentodir/
find /var/www/magentodir/ -type d -exec chmod 770 {} \;
find /var/www/magentodir/ -type f -exec chmod 660 {} \;
find /var/www/magentodir/ -name .htaccess -exec chmod 440 {} \;

then our ftpuser and apache can access to all files of magento installation, and magento connect runs fine too




 

Magento 2 GitHub Repository

Magento Job Board - Some sort of tag line goes here

Latest Posts| View all Jobs