Unable to create starred cache directory

Hello.

My event log is full of errors like this:

Unable to create starred cache directory.1. plugins/cache_starred_images/init.php(59): user_error(Unable to create starred cache directory., 512)
2. classes/pluginhost.php(240): init([PluginHost])
3. include/functions.php(1978): load(auth_internal, cache_starred_images, 1)
4. backend.php(51): init_plugins()
mkdir(): Permission denied

Do I have a misconfiguration of some kind?

Should I do something like sudo chmod 775 /ttrss/cache?

My environment:

tt-rss e40c8da
VPS, Debian Stretch
PostgreSQL 9.6.13
PHP 7.0.33-0+deb9u3

Changing the directory flags alone won’t help. Also make sure that the owner/group is the same as the one running the web server or PHP-FPM (usually www-data on Debian/Ubuntu systems).

Is this safe? The directory is currently owned by root:
drwxr-xr-x 7 root root 4096 Mar 6 2018 cache

A bit too safe. www-data should be the owner to be able to write to this directory.

No. You didn’t read this post…