The folder var/cache/prod change file owner

Your software
My Mautic version is: 4.4.2
My PHP version is: 8
My Database type and version is: 10.3.29-MariaDB-0ubuntu0.20.04.1

Your problem
My problem is: the folder var/cache/prod change file owner. I have to fix it all the time.

These errors are showing in the log: no log

Steps I have tried to fix the problem: I have to fix the ownership all the time.

Clear cache with web server user (usually www-data). On ubuntu based system command would go something like this:

sudo -u www-data /usr/bin/php <path-to-bin>/console cache:clear --env=prod

Thats one way to go about this problem…