bug-findutils
[Top][All Lists]
Advanced

[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:1.8.0.7) Gecko/20060830 Firefox/1.5.0.7 (Debian-1.5.dfsg+1.5.0.7-2)

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:

  <http://savannah.gnu.org/bugs/?19605>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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