permission of cache folder broken

Bug #1795282 reported by Stephan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
couriergrey (Ubuntu)
New
Undecided
Unassigned

Bug Description

Ubuntu 18.04
Package: couriergrey
Architecture: amd64
Version: 0.3.2-5build2

Permission is not right:

/var/cache/couriergrey is owned by daemon:daemon. This leads to:

430 Greylisting DB could not be opened currently. Please try again later: Could not open database at /var/cache/couriergrey/deli...

Folder has to be writable by courier user:

fix:
chown courier:courier /var/cache/couriergrey

slightly unrelated:
Should filter be automatically enabled upon install of package? It did not, manual start was required:

filterctl start couriergrey

Revision history for this message
Stephan (world-wide) wrote :

cron /etc/cron.daily/couriergrey is also broken:

Could not open database at /var/cache/couriergrey/deliveryattempts.gdbm

it runs as user daemon, instead it should use user "courier"

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.