Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Nov 2017 12:18:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 223529] makewhatis ignores read permission errors on directories
Message-ID:  <bug-223529-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223529

            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@FreeBSD.org
          Reporter: wosch@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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223529-8>