0

I try Install via composer free extension Magento 2 SMTP.

I run first command:

php composer.phar require mageplaza/module-smtp

Then I get error(permission denied): enter image description here

Anyone know how to solve it ? Thanks.

5
  • Have you tried: stackoverflow.com/questions/41212362/…
    – harri
    Commented Jan 21, 2018 at 13:27
  • The same error: b2b is not in the sudoers file. This incident will be reported.
    – Sylvester
    Commented Jan 21, 2018 at 14:47
  • do you have access to the root account?
    – harri
    Commented Jan 21, 2018 at 15:07
  • yes i have access to root
    – Sylvester
    Commented Jan 21, 2018 at 15:17
  • harri, I run command from root but now get: chown -R b2b .composer/ chown: cannot access '.composer/': No such file or directory
    – Sylvester
    Commented Jan 21, 2018 at 15:32

1 Answer 1

0

Set 777 to vendor folder recursively. Run: sudo chmod -R 777 ./vendor/

1
  • I run this command but get error: b2b@b2b:~/domains/bstyle.pl/public_html$ sudo chmod -R 777 ./vendor/ [sudo] password for b2b: [GET ERROR]: b2b is not in the sudoers file. This incident will be reported.
    – Sylvester
    Commented Jan 21, 2018 at 14:45

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.