Bug?: manpages are only readable by root when doing sudo make install with umask 077

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Jan 10 12:41:55 PST 2018


On Wed 2018-01-10 21:45:34 +0200, Tomi Ollila wrote:
> If user has set umask to 077, should we override that (as we're now doing
> with the files by giving explicit permissions) ?

/usr/bin/install itself does already override the user's umask, and it's
being run by the superuser ("sudo make install") who might not have the
same umask.  I think this is the right thing to do if we want the
installation to actually work for people.

fixing the mkdir invocations just brings them in line with the logic of
the /usr/bin/install invocations.

             --dkg


More information about the notmuch mailing list