1

when I install Magento 2 setup using composer in ubuntu I am getting this issue it's permission issue and me also giving 755 permission to my htdocs.

enter image description here

  • create a directory magento, give that directory 775 permission than try – Yash Patadia Mar 17 at 7:49
2

Please try this with sudo:

1) sudo composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition

2) Second be sure you have access keys from magento.

| improve this answer | |
  • Thank you Ruel my Magento 2 installation starts now. – Karuna Khatri Mar 17 at 8:02
  • sudo with the composer is not a good practice – Yasir Latif Mar 17 at 8:18

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.