Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

stueynet's avatar

Why does laravel logs / monolog run as root?

I normally use Forge so this is never an issue. However on a different hosting provider, a debian linux build with nginx, our log files are trying to be written as root:root instead of www-data, the default web app user. This is causing permission errors in the logs. I have them set to daily. Anyone have any experience with this? How is forge set up to handle this with the forge user?

0 likes
0 replies

Please or to participate in this conversation.