Could someone please share instructions Where and How to change permissions ?
I uploaded images to product and they are shown as broken in backend, but visible on front-end.
I had the same problem. Saw that the file permission were 640 on the newly uploaded images and I was manually changing them 0750. Below is what I did to fix it.
Download this file via FTP - /lib/Varien/File/Uploader.php
Open in text editor like Sublime Text
Find this at Line 219:
Save. Then upload the file via FTP and overwrite the existing.
EDIT - This will fix the issue going forward, but you still have to change the permissions on everything in the folder where you store your images. I t
I found this line and it shows
chmod($destinationFile, 0640; I will try to change it to 755
I'm wondering if it could have other effects with future patches... I mean, is that the right way to do it...? Why the official patch is not working out of the box?
Hi all, two things:
chmod($destinationFile, 0644);There is a similar one for directories that you'll need to change from 0750 to 0755.
However, if you're not on shared hosting, the best solution is to have PHP and web servers share user group.
Hope this helps!
Editing that file and changing both worked for me! thanks @sherrie