[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: Tavian Barnes
Subject: [bug #51926] -xtype l fails on symbolic links that have a loop
Date: Wed, 6 Sep 2017 13:21:02 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.79 Safari/537.36

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

In fact the error can occur even when you wouldn't expect it due to find's
arm-swapping optimizations:

$ ln -s loop loop
$ find -links 100 -xtype l
find: ‘./loop’: Too many levels of symbolic links

Even though -xtype appears guarded by the -links test, it's been re-ordered in
front of it and thus causes an error.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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