[Logcheck-devel] Bug#287237: logcheck: Permissions, dh_installlogcheck

Todd Troxell ttroxell at debian.org
Sun Dec 26 08:51:24 UTC 2004


Package: logcheck
Version: 1.2.32
Severity: normal

This report is mostly my notes, so I can consider possible solutions.

I've gained some insight into our previous permissions problems, and
discovered a new bug at the same time.

Rules installed via dh_installlogcheck after install of logcheck will
have incorrect permissions.  This is obvious when looking at the way
dh_installlogcheck operates:

for directories:
doit("install","-m",700,"-o",0,"-g",0,"-d","$tmp/etc/logcheck/$type");
for rulefiles:
doit("install","-m",644,$logcheck,"$tmp/etc/logcheck/$type/$package");

I will be looking at this in the coming days.  Input, solutions, and
patches are appreciated, as always. :>

-Todd





More information about the Logcheck-devel mailing list