Skip to content

Cache has wrong permissions #194

Description

@alexhorn

When trying to save settings (e.g. global time zone), the following error is shown:

Uuuups ... Du hast womöglich den falschen Weg eingeschlagen.
Es ist ein interner Fehler aufgetreten.

The logs show this error:

humhub_1  | 2021-04-26 12:27:38 [172.18.0.2][-][-][warning][yii\caching\FileCache::setValue] Unable to write cache file '/var/www/localhost/htdocs/protected/runtime/cache/55/humhub55faa527c8996473568237dc780d430d.bin': file_put_contents(/var/www/localhost/htdocs/protected/runtime/cache/55/humhub55faa527c8996473568237dc780d430d.bin): failed to open stream: Permission denied

Apparently the permission files are owned by root and are set to 644 so that the PHP process can not access them.

Did we do something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions