[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#296896: dpkg-statoverride doesn't work



reassign 296896 sudo
severity 296896 normal
retitle 296896 sudo/sudoedit hardlinks make it hard to use dpkg-statoverride
thanks

On Fri, 2005-02-25 at 08:08 -0600, Steve Bremer wrote:

>When I try to apply custom permission settings using dpkg-statoverride in 
>Sarge or SID (version 1.10.27), the settings aren't honored.  It works fine 
>in Debian Woody ( version 1.9.21).
>
The version of sudo in sarge/sid contains an extra
binary, /usr/bin/sudoedit which is actually a hardlink to /usr/bin/sudo.

Because hardlinks have the same permissions, it is necessary to override
the permissions of both.

>Steps to reproduce problem:
>
>1.  dpkg-statoverride --add root root 0755 /usr/bin/sudo
1b.  dpkg-statoverride --add root root 0755 /usr/bin/sudoedit
>2.  apt-get install sudo
>3.  "ls -l /usr/bin/sudo" returns:
>
And it will work.

>-rwxr-xr-x  2 root root 97528 Dec  5 01:31 /usr/bin/sudo

Scott
-- 
Have you ever, ever felt like this?
Had strange things happen?  Are you going round the twist?

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: