Bug#617810: exim4 postinst unconditionally trashes permissions of log dir

Andreas Metzler ametzler at downhill.at.eu.org
Sat Apr 16 11:56:28 UTC 2011


On 2011-03-11 Ian Jackson <ijackson at chiark.greenend.org.uk> wrote:
> Package: exim4-base
> Version: 4.69-9+lenny4
> Tags: patch

> I just did the exim4 security update and it reset the permissions of
> my /var/log/exim4 to 600, due to this in the postinst:

>         install -d -oDebian-exim -gadm -m2750 /var/log/exim4

> On my system the policy is that the logs are supposed to be readable.
> I suggest this patch, as a band-aid.
[...]

Hello,
You should be able to use dpkg-statoverride to preserve the
permissions, exim4-base's postinst should respect that.

cu andreas





More information about the Pkg-exim4-maintainers mailing list