0

I have created another store in one website in magento2. After that , when I am editing product I am getting this error

The file "/home/hmsdgwtu/public_html/pub/media/tmp/catalog/product/" doesn't exist or not a file

I am stuck on that anyone have any idea about how to fix that error ?

0

The issue seems you don't have permission to pub/media folder

check below link for permission

https://devdocs.magento.com/guides/v2.0/install-gde/prereq/file-system-perms.html

Or just give full permission to pub/media folder

chmod -R 777 pub/media

To set full project permission like

 find . -type f -exec chmod 644 {} \; && find . -type d -exec chmod 755 {} \; && find ./var -type d -exec chmod 777 {} \; && find ./pub/media -type d -exec chmod 777 {} \; && find ./pub/static -type d -exec chmod 777 {} \; && chmod 777 ./app/etc && chmod 644 ./app/etc/*.xml 
  • Hello Hitesh, Thanks for replying. after giving permission still I am getting the same error. would you please suggest any other solution for this ? Thanks, Ritika – ritika Nov 23 '18 at 10:28
  • Are you using windows ? – user55548 Nov 23 '18 at 10:54

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.