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: [email protected]
Reporter: [email protected]
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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"