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

Antoine Amarilli a3nm at a3nm.net
Wed Jan 10 07:38:14 PST 2018


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20180110/89b5029d/attachment.sig>


More information about the notmuch mailing list