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

1 Answer 1


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 and acknowledge you have read our privacy policy.

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