I was recently preparing a new installation of Magento CE version 1.9.1.1 via SSH, but after using wget to pull down the file system and going through the standard permissions settings as described in the Magento wiki article, I could not access the browser-based installation process. All I could get was a 403 permission error. It didn’t take much Googling around to discover that this issue is not unique to me. Maybe it’s due to something happening in transmission/extraction or maybe there is something wrong in the file system to begin with; either way the permissions settings are not correct somewhere in the file system.
Thankfully, it’s an easy fix via SSH. Make sure you’re in the root directory of your Magento installation, and then execute the following commands:
find ./ -type f | xargs chmod 644
find ./ -type d | xargs chmod 755
chmod -Rf 777 var
chmod -Rf 777 media
Clear your browser cache and reload the URL of your Magento instance. At this point you should be able to continue with the browser-based installation process and begin setting up your store.
Hi what file would you put the
find ./ -type f | xargs chmod 644
find ./ -type d | xargs chmod 755
chmod -Rf 777 var
chmod -Rf 777 media
code into?
thanks I am having this problem and its driving me insane
Hi Paul. Those are actually shell commands which you enter via the command line; they are not lines of code to be saved in a file. If you’re not familiar with using SSH, I recommend that you do some reading before giving it a shot.
Thnak you So much i was facing the same problem and it was resolved when l have login to filezilla but it was permission issue only.
Thanx for the post 🙂
I’m glad you found it helpful!
thanks it worked 🙂