bug-coreutils
[Top][All Lists]
Advanced

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

Re: bug found from ls command


From: Eric Blake
Subject: Re: bug found from ls command
Date: Tue, 07 Jul 2009 05:57:34 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.22) Gecko/20090605 Thunderbird/2.0.0.22 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to PG on 7/6/2009 11:21 PM:
> Dear coreutils,
> 
> Actually, I'm not sure if ls is the perpetrator, but maybe you guys can find
> out where things go wrong. I do not think that the filename "canttouchthis"
> should be listed when I am not root in the following situation:

Not a bug.  Just because you can't stat() a file does not mean you can't
learn of its existence via readdir().  ls is properly a) telling you that
the file exists because readdir() said so, and b) warning you that it
couldn't stat() the file because of permissions.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpTOC4ACgkQ84KuGfSFAYDiTgCgqptrBHIotZS+CGJdGG06e30U
iAEAoKlY5g2G9BPh3wZeqCIw6mxEcUX9
=A8Kn
-----END PGP SIGNATURE-----




reply via email to

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