Magento root@localhost permission denied

If you found error while firing magento 2 commands then it may be problem due to you don’t have execute permission for binaries. To fix it please do following cd to your magento root directory Fire command  chmod u+x bin/magento if above command not working then fire with admin account sudo chmod u+x bin/magento Now check commands it should start

Read more