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

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

Date: Wed, 10 Jan 2018 16:38:14 +0100

To: notmuch@notmuchmail.org

Cc:

From: Antoine Amarilli


Hi all,

My user has umask 077. When I do sudo make install, this umask seems to
affect installation: the folders /usr/local/share/man/man* get created
as belonging to root:staff with permissions 2700, so the installed
manpages cannot be read by anyone except root. With the default umask of
002, however, the folders are correctly created with permissions 2755.

It doesn't make sense to install manpages that only root can read, so
wouldn't it be better if the Makefile somehow used a different umask
when installing man pages?

Best,

-- 
Antoine Amarilli

signature.asc (application/pgp-signature)
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: