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 18:00:55 +0200
On Wed, Sep 01, 2004 at 05:43:16PM +0200, Marc Haber wrote:
> On Wed, Sep 01, 2004 at 05:25:42PM +0200, Andreas Metzler wrote:
[...]
> > 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.
[...]
> 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.
I am not sure, but I assume the spamassassin problem might apply to
some scanners, i.e. exim sends "scan $spool/scan/foo" to the
scan-daemon.
However the main reason I forwarded the report is that the way I do
things currently is broken. - I should not reset permissions on every
installation/upgrade with install -d but only if necessary, i.e. if
the directory does not exist or if we are upgrading from a version of
exim running as mail:mail.
cu andreas