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: James Youngman
Subject: Re: bug found from ls command
Date: Sat, 11 Jul 2009 16:01:27 +0100

On Wed, Jul 8, 2009 at 10:02 AM, James Youngman<address@hidden> wrote:
> [+bug-findutils]
>
> On Tue, Jul 7, 2009 at 5:36 PM, PG<address@hidden> wrote:
>> ah, great!
>>
>> thank you for the info. That helps me understand a lot. Now I see why find
>> fails. And perhaps it's not worth the extra computation time required to,
>> upon failure of cd'ing into the directory, trying to list it.
>
> It probably should, if it is readable.  But I don't think any versions
> of GNU find will actually do this.

OpenSolaris find doesn't either:

flare:~/tmp$ find ft/tmp -ls
347455    4 drwxr-xr-x   3 james    1001         4096 Jul  8 09:54 ft/tmp
347457    4 drw-r--r--   2 james    1001         4096 Jul  8 09:54
ft/tmp/nonexecutable
find: cannot read dir ft/tmp/nonexecutable/: Permission denied
flare:~/tmp$ ls -l ft/tmp/nonexecutable
ft/tmp/nonexecutable/foo: Permission denied
total 0
$ find ft -print
ft
ft/tmp
ft/tmp/nonexecutable
find: cannot read dir ft/tmp/nonexecutable/: Permission denied
flare:~/tmp$ uname -a
SunOS flare.spiral-arm.org 5.11 snv_101b i86pc i386 i86xpv

James.




reply via email to

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