Hi! On 16/06/12 19:58, Guillem Jover wrote: > 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
This sounds good and I probably should have done something like this in the original fix, but given the fact that the fix is already in squeeze, I don't think it's worth it introducing further workarounds now. However, I'll keep this bug open as reference to people that might bump into the same issue. Thanks for the heads-up! Cheers -- Leo "costela" Antunes [insert a witty retort here] -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

