Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Page 2 of 2
MagentoConnect Write Permissions Error
 
Nick_Infrenion
Jr. Member
 
Total Posts:  7
Joined:  2010-04-12
 

With Apache/PHP compiled with suPHP it works perfect (on cpanel system), the maximum files and folder permission needs to be 644 and 755 which is quite secure.

 
Magento Community Magento Community
Magento Community
Magento Community
 
cdeferrari
Jr. Member
 
Total Posts:  1
Joined:  2011-02-10
 

This worked for me!
thankss!!!

nutriminds - 19 May 2010 10:45 AM

Got the same error; the solution in this link worked for me:

http://till.klampaeckel.de/blog/archives/29-Magento-Error-Please-check-for-sufficient-write-file-permissions.html :

Moving a store from one server to another server, you’re bound to have small issues. While 99% of the configuration is stored in app/etc/local, there are other bits and pieces that are more spread out. For example, I noticed that there’s no central ‘Are all file permissions OK?’ screen in Magento Commerce and at times the system is pretty secretive when it comes to error messages.

For example, after moving a store from a linux to a BSD (essentially a different WWW user id), Magento Connect just died with “Error: Please check for sufficient write file permissions”.

Of course it did not disclose what exactly it failed in the process. Anyhow — debugging in downloader/Maged/Controller.php (Maged_Controller::isWritable()), here’s a list of files and directories that need to be made writable so Magento Connect gets to work:

/path/to/your/magento-install

/path/to/your/magento-install/downloader

/path/to/your/magento-install/downloader/config.ini

/path/to/your/magento-install/downloader/pearlib/config.ini

/path/to/your/magento-install/downloader/pearlib/pear.ini

/path/to/your/magento-install/downloader/pearlib/php

Who knows — maybe the secrecy is for security reasons or whatever. In the end the list above is incredibly helpful, when you realized that the linked entry from the knowledge base is missing half of them and/or does not list the relevant parts for Magento Connect there. :D

 
Magento Community Magento Community
Magento Community
Magento Community
 
movlim
Jr. Member
 
Total Posts:  3
Joined:  2011-10-30
Lima
 
Moshe - 01 April 2008 10:01 AM

Magento installation requires app/etc/ folder writable so it can create local.xml file in there.

For just running Magento - only media/ and var/ folders need to be writable recursively.

If you wish to use MagentoConnect downloader, which is required when using smaller downloader package, you will need to have all Magento folders writable for web service (apache)

Thanks man, you’re awesome.

 
Magento Community Magento Community
Magento Community
Magento Community
 
movlim
Jr. Member
 
Total Posts:  3
Joined:  2011-10-30
Lima
 
Moshe - 02 April 2008 03:16 PM

Root magento folder is also 777?

That’s all.

 
Magento Community Magento Community
Magento Community
Magento Community
 
adyballa
Jr. Member
 
Total Posts:  5
Joined:  2012-08-14
 

check owner and group.
For me it should be owner and group as www-data

chown -R www-data <root>
chgrp -R www-data <root>

try to avoid 777

for extension-deployment var/package should be transfered

 
Magento Community Magento Community
Magento Community
Magento Community
 
SeoulWebDesign
Jr. Member
 
Avatar
Total Posts:  2
Joined:  2012-11-11
Seoul, South Korea
 

fix :

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

* If you are on a cPanel server you need to do this

find . -type f -exec chmod 755 {} \\;

YOUR MAGENTO SITE ON CPANEL WILL NOT WORK WITH PERMISSIONS SET TO 777

That will change the permissions on all the directories to writable, and you should be able to use Magento Connect now.

You may also need to change the permissions on the pear download file to be able to properly install Magento Connect packages:

chmod 777 downloader/pearlib/download/package.xml

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top
Page 2 of 2