EDIT: My mistake, this problem has now occurred with this extension disabled. Although it appears to be prone to this problem, it may not be the cause. If mods could somehow move this issue elsewhere, please do.
I'm setting up a brand new forum (self-hosted) and I have narrowed down this problem to this extension:
With Drafts enabled, some files in storage/cache
are written with root ownership (root:root
), not the owning user of the parent directory. What then happens is I can't clear the cache as the owning user or through the admin panel because I don't have permissions.
Could this be because Composer is being run globally from /usr/local/bin/composer
instead of locally? Keep in mind, it is only this extension that causes the problem – tested multiple times. The PHP process is correctly run by the owning user, and no extensions are missing.