Re: Problem with compiling kernel
On Tue, 8 May 2007 20:50:13 +0200 (CEST), pizzapie linuxanchovies <embedded@verizon.net> said:
> Thanks to everyone who replied with ideas about my post. Let me give
> quick replies to the questions you asked me:
> Manoj--yes, dpkg is in /usr/bin, and is in the user's path, but no
> normal user has execute access to dpkg: $ ls -l /usr/bin/dpkg
> -rwxr-x--- 1 root root 174040 May 26 2005 /usr/bin/dpkg I temporarily
> removed bastille from my system, thinking maybe that changed
> permissions on dpkg, but that didn't help. Also, I tried
> dpkg-statoverride --list, but found no overrides on the permissions of
> dpkg. So I'm now reasonably sure Debian comes with only root having
> access to dpkg, despite it being in /usr/bin.
Nope. However, it is reasonably easy to get reasonably sure:
__> ll /usr/bin/dpkg
332 -rwxr-xr-x 1 root root 332556 2007-05-08 10:39 /usr/bin/dpkg
__> dpkg-deb --contents dpkg_1.14.1_i386.deb | grep /usr/bin
drwxr-xr-x root/root 0 2007-05-08 10:39 ./usr/bin/
-rwxr-xr-x root/root 332556 2007-05-08 10:39 ./usr/bin/dpkg
-rwxr-xr-x root/root 73252 2007-05-08 10:39 ./usr/bin/dpkg-query
-rwxr-xr-x root/root 192332 2007-05-08 10:39 ./usr/bin/dpkg-deb
-rwxr-xr-x root/root 36556 2007-05-08 10:39 ./usr/bin/dpkg-split
> Andrew (and anyone else who can do a make-kpkg under a non-root
> account)--what permissions do YOU see when you say ls -l
> /usr/bin/root?
__> ll /usr/bin/root
ls: /usr/bin/root: No such file or directory
I have never ever run make-kpkg as root. I don't think you
should either. Unless you know something I don't?
manoj
--
Careful amidst the careless, amongst the sleeping wide-awake, the
intelligent man leaves them all behind, like a race-horse does a mere
hack. 29
Manoj Srivastava <srivasta@acm.org> <http://www.golden-gryphon.com/>
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
Reply to: