Hi there,
IMy Magento 2.3.3 application keep changed the cache folder and generated folder back to root. so how do I fix this problem?
thank you
ken
@lifecorners use the below command to change the owner and group.
sudo chown -R username:group directory
Also check if there is any cron setup which is changing the owner of your folders.
Thanks
Hi there,
I did it, but the folder ownership keep change to root:root every time I clean the cache from the system.
I think it is something to do with composer install not to the right owner or group.
any idea how to reset the composer?
thank you.
ken
@lifecorners have you checked the below link?
https://devdocs.magento.com/guides/v2.2/install-gde/prereq/file-sys-perms-over.html