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

2018-01-31 Thread Antoine Amarilli
Hi Daniel, Thanks for your answer, and sorry for the ridiculous delay. On Wed, Jan 10, 2018 at 03:40:13PM -0500, Daniel Kahn Gillmor wrote: > On Wed 2018-01-10 19:29:59 +0100, Antoine Amarilli wrote: > > On Wed, Jan 10, 2018 at 11:23:03AM -0500, Daniel Kahn Gillmor wrote: > > That's right.

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

2018-01-10 Thread Daniel Kahn Gillmor
Hi Antoine-- On Wed 2018-01-10 19:29:59 +0100, Antoine Amarilli wrote: > On Wed, Jan 10, 2018 at 11:23:03AM -0500, Daniel Kahn Gillmor wrote: > That's right. Looking more closely I think the issue is only with the > permissions of the directories /usr/local/share/man/man*, not the files > that

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

2018-01-10 Thread 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

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

2018-01-10 Thread Tomi Ollila
On Wed, Jan 10 2018, Antoine Amarilli wrote: > Hi Daniel, > > Thanks for your reply! > > On Wed, Jan 10, 2018 at 11:23:03AM -0500, Daniel Kahn Gillmor wrote: >> On Wed 2018-01-10 16:38:14 +0100, Antoine Amarilli wrote: >> how is the installation happening for you? In Makefile.local, i see: >>

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

2018-01-10 Thread Antoine Amarilli
Hi Daniel, Thanks for your reply! On Wed, Jan 10, 2018 at 11:23:03AM -0500, Daniel Kahn Gillmor wrote: > On Wed 2018-01-10 16:38:14 +0100, Antoine Amarilli wrote: > how is the installation happening for you? In Makefile.local, i see: > > install -m0644 $(filter %.1.gz,$(MAN_GZIP_FILES))

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

2018-01-10 Thread Daniel Kahn Gillmor
On Wed 2018-01-10 16:38:14 +0100, Antoine Amarilli wrote: > 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