I'm running the command bin/magento deploy:mode:set: developer
inside a docker container.
It's outputting the same error below for many files.
The "/var/www/html/var/cache/mage--7/mage---792_MAGE_VERSION" file can't be deleted. Warning!unlink(/var/www/html/var/cache/mage--7/mage---792_MAGE_VERSION): Permission denied
What I tried:
- chmod -R 777 var/cache (outputs error
operation not permitted
)
su -
it asks for a password. Is there a default?