[Bug 223529] makewhatis ignores read permission errors on directories
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Nov 8 12:18:06 UTC 2017
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: freebsd-bugs at FreeBSD.org
Reporter: wosch at FreeBSD.org
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.
More information about the freebsd-bugs
mailing list