[Top][All Lists]

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

du no longer handles errors gracefully

From: Mike Frysinger
Subject: du no longer handles errors gracefully
Date: Mon, 6 Nov 2006 16:29:01 -0500
User-agent: KMail/1.9.5

when encountering dirs missing the executable bit, du used to spit out an 
error but continue on its way ... with the new version though, the error 
forces premature failure with an helpful message :(

for example, this dir structure as a non-root user:
rm -rf foo
mkdir -p foo/{a,b,c}
touch foo/a/asdf

here is coreutils-5.94:
$ du
du: `./b': Permission denied
1       ./c
1       ./a
3       .

here is coreutils-6.4:
$ du
du: fts_read failed: Permission denied

Attachment: pgpAiXZlQesm_.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]