I am new to Magento, I am trying to install a theme via magento connect manager, I copy and paste the extension key then click install and then proceed.I get error 'Warning: Your Magento folder does not have sufficient write permissions.'
please give some solution .Any help would be highly appreciated.
go to Magento home directory and just give permissions for your webroot.
e.g. (in ubuntu) : sudo chown -R www-data .
You could also change the permissions
chmod 777 -R downloader/*
I hope it helps.
[EDIT]
How about in your magento directory (use sudo
for below commands if required.):
find . -type d -exec chmod 775 {} \;
find . -type f -exec chmod 664 {} \;
For the normal operation or installation of a Magento store, only 2 folders need to be writable:
/media - for web accessible files, such as product images
/var - for temporary (cache, session) and import/export files
Source here
To reset file permissions run:
find . -type d -exec chmod 775 {} \;
find . -type f -exec chmod 664 {} \;
chmod 777 -R downloader var media
In my case this wasn't enough. I had to set 777 permision also to parent folder - public_html (NOT recursive).
Here is a complete shell script that I wrote to help you setup permissions/ownership of your Magento Installation : mage-set-perms
The shell script is based on the recommendation of Magento official article found here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With