Problem with recursive searches.

Derek Martin invalid at pizzashack.org
Tue Sep 14 22:01:00 EDT 2004


On Tue, Sep 14, 2004 at 04:10:50PM -0400, Michael ODonnell wrote:
> I came up with my hypothesis by having a peek at the
> sources - I noticed that find's return-to-parent-directory
> behavior during recursive descents was directly affected
> by whether the -follow option had been selected and,
> as you noticed, independent of whether any symlinks had
> been processed.  I'd have to think about this a bit more
> before declaring this behavior to be a bug, but it sure
> does smell like one...

It is (perhaps obviously) clear that when symlinks exist, finding the
parent directory (i.e. the directory we came from via symlink) is not
the same as finding the actual physical parent directory.  So, there
is a reason, at least, for a difference to exist...  Though I
haven't looked at the sources, so I don't know if it's implemented
sensibly.

-- 
Derek D. Martin    http://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail.  Sorry for the inconvenience.  Thank the spammers.




More information about the gnhlug-discuss mailing list