Re: Update Manager absurdity?- (FOLLOW-UP)
- From: hendrik@xxxxxxxxxxxxxx
- Date: Fri, 16 Feb 2007 10:44:09 -0500
On Fri, Feb 16, 2007 at 10:06:56AM -0500, Celejar wrote:
On Fri, 16 Feb 2007 09:34:14 -0500
hendrik@xxxxxxxxxxxxxx wrote:
[snip]
Speaking of learning, you shouldn't be running 'du' and 'dpkg -l' with
sudo; they'll run just fine as a normal user.
Won't they have a hard time with directories and files that are not
readable by the normal user?
No. dpkg just queries /var/lib/dpkg/status, which is world readable,
and 'du' works perfectly well on non-readable files:
~$ cat /etc/shadow
cat: /etc/shadow: Permission denied
~$ du /etc/shadow
1 /etc/shadow
And does du also work with nonreadable directories?
-- hendrik
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: Update Manager absurdity?- (FOLLOW-UP)
- From: Celejar
- Re: Update Manager absurdity?- (FOLLOW-UP)
- From: michael
- Re: Update Manager absurdity?- (FOLLOW-UP)
- References:
- Update Manager absurdity?
- From: Default User
- Re: Update Manager absurdity?- (FOLLOW-UP)
- From: Default User
- Re: Update Manager absurdity?- (FOLLOW-UP)
- From: Celejar
- Re: Update Manager absurdity?- (FOLLOW-UP)
- From: hendrik
- Re: Update Manager absurdity?- (FOLLOW-UP)
- From: Celejar
- Update Manager absurdity?
- Prev by Date: Re: Woody on 486 problem
- Next by Date: Re: dumb question about scons.....
- Previous by thread: Re: Update Manager absurdity?- (FOLLOW-UP)
- Next by thread: Re: Update Manager absurdity?- (FOLLOW-UP)
- Index(es):
Relevant Pages
|