"Error: Please check for sufficient write file permissions"

 

Uh oh, looks like something's wonky here.

 

If you are running PHP as an Apache module, Magento Connect will need full write permissions to perform upgrades, so you must apply a temporary hack while using Connect.    

 

Use an SSH client to connect to your server, navigate to the Magento directory, and enter this command :

  1. find . -type d -exec chmod 777 {} \;

 

Now, login into the Magento control panel, and use Connect to apply any needed updates and/or extensions.

 

When you are finished, you must repair the permissions :

  1. find . -type d -exec chmod 755 {} \;
  2. find . -type f -exec chmod 644 {} \;

 

Next, set write permissions on your server. Here are the recommended settings :

  1. chmod o+w var var/.htaccess app/etc
  2. chmod 550 pear
  3. chmod -R o+w media

If you run into trouble, try playing with the permissions on the "var" and "app/etc" directories (ex, "chmod 775 var var/.htaccess app/etc").   

 

Voila.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Furl
  • NewsVine
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • TwitThis