[Top][All Lists]

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

[bug #19605] find does not report symlink loop when trying to follow sym

From: James Youngman
Subject: [bug #19605] find does not report symlink loop when trying to follow symlinks
Date: Tue, 17 Apr 2007 08:51:04 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20060830 Firefox/ (Debian-1.5.dfsg+

Follow-up Comment #4, bug #19605 (project findutils):

But find does nto need to stat() a directory entry in order to discover that
the entry itself is not a directory.  Using -size causes the loop tobe
diagnosed, because that requries a call to stat().  Determining that an item
is not a directory requires no stat call because that information is present
in struct dirent (on some systems at least).

As far as I can see, the output that find produces on stdout is correct and
matches the criteria passed to find by the user in this case.  

I believe that the current behaviour is standard-conforming unless find is
required to diagnose all symlink loops (even for nondirectories).  I am not
aware of any such requirement.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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