I'm having a problem with my Magento2 & Docker setup. It's basically the same issue as outlined in this question:
I tried the suggested fix, running
sudo -u www-data php bin/magento setup:upgrade, however, files in the
generated folder are still set as root:root instead of www-data.
Does anyone have an idea why that is the case and what else I could do to get the
bin/magento setup:upgrade command to generate ALL files as the www-data user?