Hi guys,
How are you doing? Having some issue on my Magento store recently got denied of permission via Magento user. I was trying to use command
sudo chown -R magento:www-data /var/www/html/
to reset the ownership but the result was the same.
Tips: Tried to add another new user for Magento folder and give permission like before, unfortunately nothing changes.
Reason what I guess: Used root executing commands in Magento folder?
For now, using Magento user executing commands we got:
- -bash: bin/magento: Permission denied
- magento is not in the sudoers file