Magento Forum

Page 1 of 2
MagentoConnect Write Permissions Error
 
kabbink
Jr. Member
 
Total Posts:  16
Joined:  2008-03-31
 

Hello,

I am working with a fresh install and am getting the following error when I go to System | Extensions | Manage Extensions:

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.

I got everything installed correctly so I figured my perms were set correctly.

I definately have all the perms from http://www.magentocommerce.com/knowledge-base/entry/magento-installation-guide set correctly.

What do I need to do?

So glad 1.0 is finally here!

Thanks!

 
Magento Community Magento Community
Magento Community
Magento Community
 
rvelton
Sr. Member
 
Total Posts:  82
Joined:  2007-09-07
 

I got 1.0 installed properly but I wanted to see the new package list. Unfortunately, I get the following error which is similar to the above poster:

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.

Any help would be great. thanks.

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

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)

 
Magento Community Magento Community
Magento Community
Magento Community
 
rvelton
Sr. Member
 
Total Posts:  82
Joined:  2007-09-07
 

Hehe I just make the entire magento code base and all directories writeable.

Still get this error. :(

 
Magento Community Magento Community
Magento Community
Magento Community
 
Francesco2008
Member
 
Total Posts:  67
Joined:  2008-03-26
 

Yes,
I have the same error here, I set all dirs to 777.... Any ideas?

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
rvelton
Sr. Member
 
Total Posts:  82
Joined:  2007-09-07
 

Maybe next update.

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

Root magento folder is also 777?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Online Shop
Jr. Member
 
Avatar
Total Posts:  21
Joined:  2008-02-27
 

same here, getting the same error despite setting the root folder to 777.

 
Magento Community Magento Community
Magento Community
Magento Community
 
tom.synnott
Member
 
Total Posts:  37
Joined:  2007-11-05
 

Same here… I made the root all these folders 777 and still no luck:

html [root folder] (yes) > app
> downloader
> js
> lib
> media
> pkginfo
> report
> skin
> var

 
Magento Community Magento Community
Magento Community
Magento Community
 
tom.synnott
Member
 
Total Posts:  37
Joined:  2007-11-05
 

Is it dangerous to make the root folder 777?

 
Magento Community Magento Community
Magento Community
Magento Community
 
leetaylordoes
Sr. Member
 
Total Posts:  227
Joined:  2008-02-05
San Diego, CA
 

Moshe,

Can you explain step by step, how we can make all magento folders writable for web service (apache), without making them writable by all other users?

I know that making the root magento folder writable by any user is a huge security risk (and it also redirects all urls back to the installation phase, even after site has been configured correctly).

Any documentation on how to do this?
It seems many of us are unsure how to allow all files to be writable for web service without changing the permissions to 777 recursively.

Thanks.

 
Magento Community Magento Community
Magento Community
Magento Community
 
leetaylordoes
Sr. Member
 
Total Posts:  227
Joined:  2008-02-05
San Diego, CA
 

Here’s a helpful link: http://www.magentocommerce.com/boards/viewthread/5402/#t19617

Anyone know the status of the tutorial/wiki post on how to access MagentoConnect downloader in shell?

Thanks.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Cary
Jr. Member
 
Total Posts:  2
Joined:  2009-05-23
 

I had the same issue and this seems to have done the trick for me.

Permissions fix

thanks,

Cary.

 
Magento Community Magento Community
Magento Community
Magento Community
 
fcmod
Jr. Member
 
Total Posts:  13
Joined:  2008-11-06
 

Found this link

Installing Extensions Via SSH:
http://www.magentocommerce.com/wiki/groups/227/installing_extensions_via_ssh

 
Magento Community Magento Community
Magento Community
Magento Community
 
d3vi8
Jr. Member
 
Total Posts:  1
Joined:  2010-01-07
 

"Root magento folder is also 777? “ tanks for that, it was my mistake, “public_html” folder permission it was my problem on this error, tanks again

 
Magento Community Magento Community
Magento Community
Magento Community
 
nutriminds
Jr. Member
 
Total Posts:  1
Joined:  2010-04-29
 

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
Magento Community
Magento Community
Back to top
Page 1 of 2