I have A pretty huge issue to work out here. I am installing a fresh install of Magento ver. 1.5.0.1. I set (and double-checked) that all of my directories were set to the proper permissions to install Mage.
My problem is that my Magento Connect manager is throwing the permissions error copied below. I have searched and searched and searched for a solution to this problem… I even basically ruined 3 weeks worth of work by running a recursive permissions script via SSH (some script that I copied out of the Magento forums from someone having a similar problem.)
My problem is, I don’t want to run scripts that I don’t know what they do. They can ruin my entire site, and I don’t trust them. There HAS to be a way to fix this problem manually. I am seeing this same error going back to 2008. Has Magento really missed the bus on this huge of an issue for this long?
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?)
Someone please help!!!
ERROR:
Warning: Your Magento folder does not have sufficient write permissions.
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) or set up FTP Connection on the Magento Connect Manager Settings tab.
Isn’t setting all directories to 777 a bad idea from a security standpoint? Not to mention – Shouldn’t there be a way to do this without running batch permissions changes? Just seems dangerous… I don’t feel good about doing it.
Last time I tried this, it basically screwed up my entire site and cost me 3 weeks of work. Here is my message from GoDaddy below from that last incident. The only thing I could figure was either 1) I ran the scripts in the wrong directory or else, 2) The scripts were in the right directory, but screwed everything up.
@Crucial – Do you think I might have just ran this from the wrong directory last time?
Godaddy Said:
It appears that two permissions commands were run on your server that have caused the issues you are experiencing:
find . -type d -exec chmod 777 {} \;
find . -type d -exec chmod 755 {} \;
These commands have effectively given necessary system services the incorrect permissions across all server files. As a courtesy we have corrected the permissions for the SSHd service which has restored remote access to your server via SSH. You are welcome to try and correct the permissions on the entire server, but this would be a truly grueling task. Instead, I would suggest that you back up any data you require from the server and reprovision the server at your earliest convenience.
find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
chmod o+w var var/.htaccess app/etc
chmod 550 mage
chmod -R o+w media
But nothing really happen. I mean it’s like the command prompt is waiting for something else ?? I’m using putty as you can see on the attached picture. Help would be appreciated. Thanks