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 Mar 17 '20 at 7:49

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.

  • Thank you Ruel my Magento 2 installation starts now. Mar 17 '20 at 8:02
  • sudo with the composer is not a good practice Mar 17 '20 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.