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

Andreas Metzler Andreas Metzler <ametzler@logic.univie.ac.at>, 269448@bugs.debian.org
Wed, 1 Sep 2004 17:25:42 +0200


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. :-(

Since exiscan is a major feature of exim4-daemon-heavy, and users of
exiscan normally use virus scanners, this problem is going to cause pain
to a lot of people every time we have an exim update.

Apart from that - many thanks (again) for an excellent set of packages.

R.
PeteM

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux banana 2.4.18-1-k7 #1 Wed Apr 14 19:20:42 UTC 2004 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages exim4-base depends on:
ii  adduser                   3.47           Add and remove users and groups
ii  cron                      3.0pl1-72      management of regular background p
ii  debconf                   1.3.22         Debian configuration management sy
ii  exim4-config              4.34-4amwoody2 Debian configuration for exim4
ii  exim4-config [exim4-confi 4.34-4amwoody2 Debian configuration for exim4
ii  libc6                     2.2.5-11.5     GNU C Library: Shared libraries an
ii  libdb3                    3.2.9-20       Berkeley v3 Database Libraries [ru
ii  netbase                   4.07           Basic TCP/IP networking system
ii  passwd                    20000902-12    Change and administer password and


----- End forwarded message -----