I recently installed magento2 with sample data on my server.

But i see that every css, js also catalog images permission is not readable for user..

For that i m getting so many require.js errors. Also product view page is not working..

I run php magento setup:static-content:deploy and the static content deployed successfully. But seeing that file permission are not readable.

What i need to do now??

  • sudo chmod 777 -R //your magento folder path run this command Apr 1 '16 at 6:06
  • I did. But not solved the problems. Please help
    – Asish Hira
    Apr 1 '16 at 6:10
  • did you add magetno folder path? and check current folder and file permission. using window or linux Apr 1 '16 at 6:12
  • I don't get you ! can you explain??
    – Asish Hira
    Apr 1 '16 at 6:14
  • the full command is sudo chmod 777 -R /opt/lampp/htdocs/mangeto did you try that Apr 1 '16 at 6:15

Try to give root user permission for that subdomain. and then try to deploy


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.