Re: find and links to dirs

2003-01-15 Thread Glenn Maynard
On Thu, Jan 16, 2003 at 09:52:49AM +0300, Alexander V. Lukyanov wrote: > Only on linux. Trailing slash makes lstat system call to return information > on the referenced directory. On solaris, it does not make lstat follow the > link and /. is required. Well, I much prefer Linux's behavior, then--b

Re: find and links to dirs

2003-01-15 Thread Alexander V. Lukyanov
On Thu, Jan 16, 2003 at 01:33:33AM -0500, Glenn Maynard wrote: > Doing "find foo/" (trailing slash important), however, does: Only on linux. Trailing slash makes lstat system call to return information on the referenced directory. On solaris, it does not make lstat follow the link and /. is requir

Re: find and links to dirs

2003-01-15 Thread Glenn Maynard
On Thu, Jan 16, 2003 at 08:59:07AM +0300, Alexander V. Lukyanov wrote: > find program (from findutils) does not recurse on symlinks too. > But find blah/. works with the patch, and find(1) similarly works with /. > appended. Doing "find foo" (with findutils) doesn't recurse: lrwxr-xr-x1 glenn

Re: find and links to dirs

2003-01-15 Thread Alexander V. Lukyanov
On Wed, Jan 15, 2003 at 03:18:33PM -0500, Glenn Maynard wrote: > On Wed, Jan 15, 2003 at 02:51:31PM +0300, Alexander V. Lukyanov wrote: > > How about this patch? > > It works for the most common case ("find ."), which is probably good enough. > It doesn't fix: > > lftp 0:/> rels > drwxr-xr-x 2

Re: find and links to dirs

2003-01-15 Thread Glenn Maynard
On Wed, Jan 15, 2003 at 02:51:31PM +0300, Alexander V. Lukyanov wrote: > On Tue, Jan 07, 2003 at 02:16:17PM -0500, Glenn Maynard wrote: > > On Tue, Jan 07, 2003 at 03:58:36PM +0100, Piotr Krukowiecki wrote: > > > Even after cd /Anime find won't work :( > > > > This is a bug, however. The problem i

Re: find and links to dirs

2003-01-15 Thread Alexander V. Lukyanov
On Tue, Jan 07, 2003 at 02:16:17PM -0500, Glenn Maynard wrote: > On Tue, Jan 07, 2003 at 03:58:36PM +0100, Piotr Krukowiecki wrote: > > Even after cd /Anime find won't work :( > > This is a bug, however. The problem is that it's checking the first > path ("." in /Anime) like any other argument, se

Re: find and links to dirs

2003-01-07 Thread Glenn Maynard
On Tue, Jan 07, 2003 at 03:58:36PM +0100, Piotr Krukowiecki wrote: > find does not follows symlinks to directories - i think it should. > They are noted as links, for example: > lrwxrwxrwx 1 1234 1234 25 Dec 31 2002 Anime -> /mnt/hdc1/Anime/ This mirrors find(1) behavior. The rea

find and links to dirs

2003-01-07 Thread Piotr Krukowiecki
Hello find does not follows symlinks to directories - i think it should. They are noted as links, for example: lrwxrwxrwx 1 1234 1234 25 Dec 31 2002 Anime -> /mnt/hdc1/Anime/ Even after cd /Anime find won't work :( -- Piotrek irc: #debian.pl Mors Drosophilis melanogastribus!

Re: find and links to dirs

2003-01-07 Thread Piotr Krukowiecki
On Tue, 07 Jan 2003, Piotr Krukowiecki wrote: > find does not follows symlinks to directories - i think it should. I was using Lftp | Version 2.6.3 -- Piotrek irc: #debian.pl Mors Drosophilis melanogastribus!