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

Andreas Metzler Andreas Metzler <ametzler@downhill.at.eu.org>, 269448@bugs.debian.org
Sun, 6 Feb 2005 19:42:33 +0100


On 2005-02-06 Marc Haber <mh+debian-packages@zugschlus.de> wrote:
> On Wed, Sep 01, 2004 at 06:00:55PM +0200, Andreas Metzler wrote:
> > 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.

> Right. We should really fix this - most probaby by honoring
> dpkg-statoverride settings.

Just for reference:

I am not completely sure dpkg-statoverride is the right way to do that.

Currently not resetting changes on every upgrade might be better,
dpkg-statoverride really is a tool for dpkg managed files. OTOH dpkg
v2 will probably support shipping files owned by users that are
generated in post/preinst in the debian package.
                  cu andreas
-- 
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"
                                           http://downhill.aus.cc/