Bug#269448: [peter@sysnix.com: exim4-base: using install to set directory permissions ignores dpkg-statoverride settings]

Marc Haber Marc Haber <mh+debian-packages@zugschlus.de>, 269448@bugs.debian.org
Wed, 1 Sep 2004 17:43:16 +0200


On Wed, Sep 01, 2004 at 05:25:42PM +0200, Andreas Metzler wrote:
> Package: exim4-base
> Severity: normal
> 
> ----- Forwarded message from Peter Mottram <peter@sysnix.com> -----
> 
> From: Peter Mottram <peter@sysnix.com>
> To: Andreas Metzler <ametzler@debian.org>
> Subject: exim4-base: using install to set directory permissions ignores
>  dpkg-statoverride settings
> 
> Hi Andreas
> 
> I'm not filing this in the dbts as I don't have a sarge/sid box running
> exim4-daemon-heavy but I believe the fault is the same for the 'official'
> packages (the offending postinst looks pretty much the same)....
> 
> In order to allow a virus scanner that does not run as Debian-exim or as
> root to access the spool files in the default /var/spool/exim4/scan I use
> dpkg-statoverride to change the mode of /var/spool/exim4 to 751. The
> problem is that when I upgrade exim4-base the mode is ignored and
> 'install' in exim4-base.postinst resets the mode to 750 so my virus
> scanner stops operating. :-(

Isn't it exiscan's reason of existence to avoid virus scanners
meddling around with the queue? The queue is internal data and its
format can change any time.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Karlsruhe, Germany |  lose things."    Winona Ryder | Fon: *49 721 966 32 15
Nordisch by Nature |  How to make an American Quilt | Fax: *49 721 966 31 29