Ok! so I have finally upgraded to Magento 1.9 from Magento 1.7 through cPanel files, it seems to work well until I tried to upload a picture then it comes up ' the directory is not writable by server' I know this is a permission thing.

what file do I have to change permission for to get this working?

Thank you in advance.


Set 775 permissions to media and var folders recursively.

|improve this answer|||||
  • It didn't work.. – user21167 Feb 11 '15 at 20:07

Use The following commands to set permissions, I hope so it's help you

find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
find ./var -type d -exec chmod 777 {} \;
find ./media -type d -exec chmod 777 {} \;
chmod 777 ./app/etc
chmod 644 ./app/etc/*.xml

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.