On 2012-03-25T13:04:35+0800, Chen-Yu Tsai <w...@csie.org> wrote:
> The respective log files have the correct permissions
> set with dpkg-statoverride (owned by www-data:adm), however the
> dircetory /var/log/munin is owned by munin:adm, with permissions
> 0750. This blocks munin-cgi-* from accessing the log files.
> 
> I recommend changing the permissions on /var/log/munin to 0751,
> which is what I did, or apply some other way to allow access by
> www-data.

It looks like this may be due to the "dpkg-statoverride --list" call
succeeding, thus not executing the "dpkg-statoverride --update" line
to set the mode to 0751:
http://munin-monitoring.org/browser/branches/debian/wheezy/trunk/debian/munin.postinst?rev=4671#L20

Is there a reason why these dpkg-statoverride calls should not be
executed unconditionally?

-- 
Kenyon Ralph

Attachment: signature.asc
Description: Digital signature

Reply via email to