https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248096

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from [email protected] ---
Working as designed, and as documented, and as required by specification.

The relevant part of the spec says:

   If neither the -H nor the -L option is specified, then the file information
and type for symbolic links encountered as a path operand on the command line
or encountered during the traversal of a file hierarchy shall be that of the
link itself.

That is to say,  `find somelink -type d`   sees "somelink" as being of type "l"
(symlink) and not "d" (directory), since the -H option was not used.
Accordingly the link is not matched.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to