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

Having trouble with Manage Extensions (Magento Downloader)
 
Brett
Sr. Member
 
Total Posts:  121
Joined:  2007-12-01
 

Error: Please check for sufficient write file permissions

Your Magento folder does not have sufficient write permissions, which this web based downloader requires.

If you wish to proceed downloading Magento packages online, please set all Magento folders to have writable permission for the web server user (example: apache) and press the “Refresh” button to try again.

Thats what it tells me. I went into my base directory (httpdocs) and ran chmod 777 -R *

So everything should definitely be writable. But alas, I still get that message!

 
Magento Community Magento Community
Magento Community
Magento Community
 
gamelodge
Sr. Member
 
Avatar
Total Posts:  89
Joined:  2007-08-31
Brisbane, Qld, Australia
 

Me too - :(

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

@Brett: if Magento is installed in httpdocs, this folder itself should be too writable, so new files can be created in it by web application (MagentoConnect downloader)

 
Magento Community Magento Community
Magento Community
Magento Community
 
Brett
Sr. Member
 
Total Posts:  121
Joined:  2007-12-01
 
Moshe - 09 April 2008 03:34 PM

@Brett: if Magento is installed in httpdocs, this folder itself should be too writable, so new files can be created in it by web application (MagentoConnect downloader)

Thanks that took care of it. Can you give me a list of files which need to be chmodded to 777 and what the rest should be chmodded to? I think I might have introduced a security risk to my site.

Any help is appreciated smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

@Brett: you do not have to make files world writable, if you can make them web server writable.

The most secure solution would be suexec or suPHP (http://www.suphp.org/Home.html), when PHP scripts under your webroot operate under same user as you do in FTP and/or SSH.

Alternatively, if you have shell, you could change the group of your files to group of apache user (could be apache or nouser):

chgrp apache . -R
chmod 775 
. -R
This way the files are not writable for the world.
 
Magento Community Magento Community
Magento Community
Magento Community
 
Crucial
Enthusiast
 
Avatar
Total Posts:  770
Joined:  2007-11-07
Phoenix, AZ
 

There’s an existing thread specifically about this in the Magento Connect forum that might be of interest:

http://www.magentocommerce.com/boards/viewthread/5756/

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top