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

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

Date: Wed, 10 Jan 2018 15:41:55 -0500

To: Tomi Ollila, Antoine Amarilli, notmuch@notmuchmail.org

Cc:

From: Daniel Kahn Gillmor


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
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: