Date: Sun, 19 Jul 2020 11:48:30 +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@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248096 Bug ID: 248096 Summary: find can't traverse symbolic link to path properly? Product: Base System Version: 12.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: dmilith@me.com One example > 1000 words: cd /tmp mkdir -p a_dir1/{inner1,inner2} ln -s a_dir1 a_symlink1 find a_dir1 -type d # all good, shows directories inside find a_symlink1 -type d # shows nothing find a_symlink1/ -type d # shows directories inside If find expects a path as first argument, why it can't traverse symlinks to path without explicitly specified / at end of dir name? Unsure it's a bug, but it caused a bug in my scripts, so reporting. --=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>