On Wed, Jul 8, 2009 at 10:02 AM, James Youngman<j...@gnu.org> wrote: > [+bug-findutils] > > On Tue, Jul 7, 2009 at 5:36 PM, PG<pgscoo...@gmail.com> 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. _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils