Colin Watson <[EMAIL PROTECTED]> [2003:09:05:21:08:07+0100] scribed:
> On Fri, Sep 05, 2003 at 01:30:48PM -0500, Michael D Schleif wrote:
> > Doh ;>
> > 
> >    # sudo dpkg -S /usr/sbin/dpkg-divert
> >    dpkg: /usr/sbin/dpkg-divert
> 
> Yep :)
> 
> Incidentally, why sudo? dpkg doesn't need any special privileges just to
> search its database.

   # id
   uid=1000(mds) gid=1000(mds)
   groups=1000(mds),6(disk),29(audio),50(staff),1001(sambamount),1002(mysql)

   # dpkg -S /usr/sbin/dpkg-divert
   bash: /usr/bin/dpkg: Permission denied

Is this because of tiger, or bastille?

   # ls -l /usr/bin/dpkg
   -rwxr-x---    1 root     root       153944 Apr 26 15:19 /usr/bin/dpkg

-- 
Best Regards,

mds
mds resource
877.596.8237
-
Dare to fix things before they break . . .
-
Our capacity for understanding is inversely proportional to how much
we think we know.  The more I know, the more I know I don't know . . .
--

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to