https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223529
Bug ID: 223529
Summary: makewhatis ignores read permission errors on
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]
I run makewhatis on a man directory without read permissions. It ignored the
error and reported a successful error status 0.
How to repeat:
$ mkdir man man/man1
$ cp /usr/share/man/man1/cat.1.gz man/man1
$ chmod u-r man
$ makewhatis man
$ echo $?
On FreeBSD 10 the result is as expected:
makewhatis: man: Permission denied
1
--
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]"