unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Bug?: manpages are only readable by root when doing sudo make install with umask 077
@ 2018-01-10 15:38 Antoine Amarilli
  2018-01-10 16:23 ` Daniel Kahn Gillmor
  0 siblings, 1 reply; 10+ messages in thread
From: Antoine Amarilli @ 2018-01-10 15:38 UTC (permalink / raw)
  To: notmuch

[-- Attachment #1: Type: text/plain, Size: 577 bytes --]

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


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-02-01 11:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-10 15:38 Bug?: manpages are only readable by root when doing sudo make install with umask 077 Antoine Amarilli
2018-01-10 16:23 ` Daniel Kahn Gillmor
2018-01-10 18:29   ` Antoine Amarilli
2018-01-10 19:45     ` Tomi Ollila
2018-01-10 20:41       ` Daniel Kahn Gillmor
2018-01-10 20:40     ` Daniel Kahn Gillmor
2018-01-31 20:31       ` Antoine Amarilli
2018-01-31 20:50         ` [PATCH] doc: create manpage folders with right permissions Antoine Amarilli
2018-01-31 20:56           ` Daniel Kahn Gillmor
2018-02-01 11:22           ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).