Try the Demo

Magento Forum

   
Page 2 of 2
Magento Connect: “Warning: Your Magento folder does not have sufficient write permissions.”
 
schilakamarri
Jr. Member
 
Total Posts:  2
Joined:  2012-05-04
 

It Worked with 777 permissions for me!!!

maooley - 25 February 2011 05:56 AM

Crucial,

I’m sorry I ever doubted you!!

The 777 command worked, and Magento Connect is now running. I’m wondering… Do I need to reset my permissions after I am finished in Magento Connect?

Thanks,

Matt

Crucial - 24 February 2011 11:24 AM
The following is 100% safe to run from the directory where Magento is installed:

find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
chmod o+var var/.htaccess app/etc
chmod 550 mage
chmod 
-R o+w media

If that is not working, try setting all directories to 777 by doing this:

find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 777 {} \;
chmod o+var/.htaccess
chmod 550 mage

 
Magento Community Magento Community
Magento Community
Magento Community
 
Garnaaltje
Jr. Member
 
Total Posts:  18
Joined:  2010-09-15
 

I tried all the solutions posted here and on other sites, but I keep getting 1 of of both errors.

After a while I found this, and this did the trick for me…

cd TO YOUR MAGENTO FOLDER!!!! (PLEAS DOUBLE CHECK THIS)

chown -R apache .
chgrp -R apache .
find . -type f -exec chmod 644 {} \\;
find . -type d -exec chmod 755 {} \\;
chmod o+w var var/.htaccess includes includes/config.php app/etc
chmod -R o+w media
rm -rf var/cache/*
rm -rf var/session/*
chmod 755 -R var

 
Magento Community Magento Community
Magento Community
Magento Community
 
jenifferjones
Jr. Member
 
Total Posts:  5
Joined:  2012-08-16
uk
 

I have even tried to set up the new FTP option in Mage 1.5.0.1., but cannot seem to get that to work either. (Anyone know what the “Installation Path:” field needs to be set to?)

 
Magento Community Magento Community
Magento Community
Magento Community
 
cybeRRunner
Jr. Member
 
Total Posts:  3
Joined:  2010-10-18
 

I’m exhuming this thread because as of today (magento community ver. 1.7.0.2) the warning in magento connect still persists.

In order to make magento connect work. there is no need to set 777 permissions on EVERY directory in magento (and then revert them back right after for security reasons after installing the extension).

You just set 777 permissions as usual on these folders (including their subdirectories):

/var
/media
/downloader

Then, as already stated by someone in another thread, to let magento connect work you also have to set 777 permissions to the root directory of magento (i.e. the folder where magento has been uploaded: could be “/httpdocs/” or “/public_html/” or similar if you installed it on the webserver’s root - or could be “/shop” or “/magento” or “/whatever” if you chose to install it inside a subfolder).
In this case there’s no need to apply 777 permissions to subdirectories. Just grant 777 to magento’s root folder.

Once you’re done installing extensions, just revert permissions of magento’s root folder to the old value (750, in my case).

I just installed magento community edition ver. 1.7.0.2 and this method solved my problem with magento connect.

Cheers.

 
Magento Community Magento Community
Magento Community
Magento Community
 
janannedehaan
Jr. Member
 
Total Posts:  3
Joined:  2011-11-01
 

You have to set 777 on de rootdir.

 
Magento Community Magento Community
Magento Community
Magento Community
 
maurisource
Jr. Member
 
Total Posts:  8
Joined:  2011-11-21
Montreal, Canada
 

You can do it via SSH as you can do it via FTP also.

If you have your installation as me: home/user/www/website.com/ (magento install here)

While in production:

Set to 777 folder website.com (folder only)
Go to /downloader Set 777 to folder and enlosed items
Go to /media Set 777 to folder and enclosed items
Go to /var set 777 to folder and enclosed items

That\’s all you need to set to 777. The error at this point disappears.

If you having the error during installation:
Your Magento folder does not have sufficient write permissions, which downloader requires. (recheck downloader folder permission or restart server)
Magento Connect 2.0 - Connection Error try again later [when installing with the Extension Key]
Solution that fixed this error is to intall PHP-XML (that was missing)

Open SSH:
Install php-xml rpm package:

# yum --enablerepo=remi install php-xml

If you run another repo, find your PHP-XML version.

My extension is now installed. Enjoy.

PS: Don\’t forget to run magento-cleanup.php to set back securely your folder & files permissions wink

 Signature 

█ Maurisource - Magento integration/development, Dedicated & VPS server Optimization.
█ Magento website running on steroid: NGINX • PHP-FPM • APC • Varnish • Turpentine
█ || http://www.maurisource.com | |

 
Magento Community Magento Community
Magento Community
Magento Community
 
soodne.ee
Jr. Member
 
Total Posts:  1
Joined:  2008-09-30
 

which folders should be 777 and 775 what?

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