Date: Sun, 19 Jul 2020 11:58:28 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 248096] find can't traverse symbolic link to path properly? Message-ID: <bug-248096-227-bM0D18ngwS@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-248096-227@https.bugs.freebsd.org/bugzilla/> References: <bug-248096-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248096 andrew@tao11.riddles.org.uk changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrew@tao11.riddles.org.uk --- Comment #1 from andrew@tao11.riddles.org.uk --- 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 informat= ion and type for symbolic links encountered as a path operand on the command li= ne 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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-248096-227-bM0D18ngwS>