[Pkg-clamav-devel] Bug#552351: clamav-unofficial-sigs: Logrotate script creates log files with unhelpful permissions

Dominic Hargreaves dom at earth.li
Sun Oct 25 17:46:07 UTC 2009


Package: clamav-unofficial-sigs
Version: 3.5.4-2
Severity: minor
Tags: patch

The logrotate script you include with this package creates new log files
with mode 0600. This is unhelpful for the system administrator who is
a member of group adm, who expects to be able to read log files.

I've attached a patch to restore the more generally expected permissions.
In fact, since no sensitive/personal information appears to be exposed
in this file, 0644 may be even better.

Thanks for a very useful package,
Dominic.
-------------- next part --------------
--- /etc/logrotate.d/clamav-unofficial-sigs	2009-07-22 15:39:45.000000000 +0100
+++ /tmp/clamav-unofficial-sigs	2009-10-25 17:41:07.000000000 +0000
@@ -4,5 +4,5 @@
      missingok
      notifempty
      compress
-     create 0600 clamav clamav
+     create 0640 clamav adm
 }


More information about the Pkg-clamav-devel mailing list