voodish logo
tweet rss book of faces Linked In

Magento Error: Please check for sufficient write file permissions [fixed]

How to fix the file permissions error in Magento Connect.

If you have SSH, navigate to your magento folder and run the following commands:

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

That will reset all files to 644 and all directories to 777. After that you shouldn’t have any permissions errors. If you don’t have SSH and you’re hosted by someone, have them run this for you.

You should now be able to access the Magento Connect Manager and other services which require permission changes.

NOTE: Once you have finished with your update make sure to chmod back to safe params, like so:

1. find . -type d -exec chmod 755 {} \;
2. find . -type f -exec chmod 644 {} \;
3. chmod o+w var media app/etc/use_cache.ser

Related Articles

Comments RSS Feed

3 Comments

  1. tada July 15, 2010

    Cool, thanks for this.

  2. Go to Top of the page

  3. kmp July 15, 2010

    Fixed my prob with Connect manager, thanks!

  4. Go to Top of the page

  5. infobuster January 5, 2011

    just in case anyone is doing this and gets an error find: missing argument to -exec
    just use these,

    find . -type d -exec chmod 777 {}/;
    find . -type f -exec chmod 644 {}/;

  6. Go to Top of the page

Leave a comment