Magento – Running “bin/magento setup:static-content:deploy” gives “Permission denied”

clicommandcssinstallationmagento2

When running:

root@ubuntu:/var/www/Magento2# bin/magento setup:static-content:deploy

I got

-bash: bin/magento: Permission denied

please note that I'm running the command using root user

Best Answer

You can also try php bin/magento setup:static-content:deploy

Related Topic