[Top][All Lists]

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

[bug #51926] -xtype l fails on symbolic links that have a loop

From: Dale Worley
Subject: [bug #51926] -xtype l fails on symbolic links that have a loop
Date: Mon, 4 Sep 2017 22:23:41 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:34.0) Gecko/20100101 Firefox/34.0

Follow-up Comment #3, bug #51926 (project findutils):

The complexity is that "-xtype" isn't really defined for a looping link,
because xtype is a test of *the thing at the end of the chain of links* (which
doesn't exist).

Actually, there's a similar problem with an ordinary broken link (which
doesn't point to anything).

It turns out that find treats "-xtype (anything)" as false on a broken link,
which doesn't seem to be specified in the manual page.  So it would be
plausible to treat it as false on a circular link as well.

There may be an upward-compatibility problem that some users are expecting to
get the "Too many levels of symbolic links" message.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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