Why are some directories under storage/framework/cache/data being created by the root user?
I’ve investigated and found that some cache directories are being created by the root user instead of www-data. Do you think the configuration below is causing the issue?
this will be a big issue if your web server is running as www-data (for example), causing crashes when the web user tries to create cache folders with the same prefix.
@glukinho@snapey Thanks for your answers. Yes, my server is running as www-data, and I believe that setting the laravel-worker user to www-data will resolve this issue.