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