Hi!

On Sat, 2012-06-16 at 19:02:27 +0200, Leo 'costela' Antunes wrote:
> Sorry for the belated reply.

No problem.

> On 09/01/12 06:31, Guillem Jover wrote:
> > This packages sets permissions via dpkg-statoverrrides for a binary, but
> > those are too restrictive for no real reason (see debian-policy §10.9).
> > Those should be:
> >
> >   4754 /usr/sbin/mgnokiidev
> 
> I'm not sure I understand the problem: this is already the mode being
> set by dpkg-statoverride.
> Could you maybe shed a bit more light on the issue?

Err, ok so this is just the remnants from the previous behaviour for
which I filed a “duped” bug report (562719) and you already fixed.

So, the problem is that the old statoverrides did not get fixed on
installed systems, which makes the installed file to still have the too
restrictive permissions, but fixing those might possibly stomp over user
settings, so I'm not sure what'd be the best way to fix this, if at all...

OTOH I guess it would be pretty “safe” to only fix the permissions if
they match they previous ones, something like this could do it:

    if ! dpkg-statoverride --list /usr/sbin/mgnokiidev > /dev/null ||
       [ "`dpkg-statoverride --list /usr/sbin/mgnokiidev`" = "root gnokii 4750 
/usr/sbin/mgnokiidev"]; then
      dpkg-statoverride --update --add root gnokii 4754 /usr/sbin/mgnokiidev
    fi

thanks,
guillem



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to