FS#43583 - [dspam] Incorrect owner:group for /var/log/dspam

Attached to Project: Community Packages
Opened by Kovid Goyal (kovidgoyal) - Tuesday, 27 January 2015, 11:19 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 27 January 2015, 14:36 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The dspam PKGBUILD creates /var/log/dspam with permisions 0750 and owner:group root:root. However, dspam is run as user dspam by dspam.service. This causes dspam to be unable to open its log files. The PKGBUILD should do

chown dspam:dspam $pkgdir/var/log/dspam


Steps to reproduce:
systemctl start dspam
journalctl -flu dspam


Jan 27 16:20:25 divok dspam[32107]: /var/log/dspam/dspam.log: Permission denied
This task depends upon

Closed by  Sergej Pupykin (sergej)
Tuesday, 27 January 2015, 14:36 GMT
Reason for closing:  Fixed

Loading...