Date: Mon, 02 Mar 2020 20:18:40 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 244561] find -depth skips unreadable directories Message-ID: <bug-244561-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244561 Bug ID: 244561 Summary: find -depth skips unreadable directories Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: tavianator@tavianator.com Created attachment 212103 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=212103&action=edit Patch for this issue find -depth skips unreadable directories, while find without -depth prints it. For example: $ mkdir -p foo/bar $ chmod -r foo $ find foo -depth find: foo: Permission denied $ find foo foo find: foo: Permission denied GNU find had the same bug: https://savannah.gnu.org/bugs/?54171 I think the attached patch should fix it. -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244561-227>
