Call-back icon  Sales: Call 877.832.5289 (N America)|310.295.4144 (International)

Magento

eCommerce Software for Online Growth

Resetting File Permissions

Last modified by Crucial on Sun, October 5, 2008 15:02
Source|Old Revisions  |  Back To Group

If you run in an environment that does not have suEXEC, like one where PHP is running as an Apache module, here’s how to reset your file and directory permissions:

  1. find . -type f -exec chmod 644 {} \;
  2. find . -type d -exec chmod 755 {} \;
  3. chmod o+w var var/.htaccess app/etc
  4. chmod 550 pear
  5. chmod -R o+w media

The above commands need to be executed from the root directory where Magento is installed.




 

Popular Wiki Tags  |  View all

 module   routes   data accessing   list   resource   backend   mysql4   action   api   controller   getModel   model   php   custom attributes   eav 

Professional Services from the Magento Team

Professional Installation from the Magento Team

Magento Job Board - Some sort of tag line goes here

Latest Posts| View all Jobs
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
50166 users|590 users currently online|102323 forum posts