From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id F0C046DE01E9 for ; Wed, 31 Jan 2018 12:31:15 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.007 X-Spam-Level: X-Spam-Status: No, score=-0.007 tagged_above=-999 required=5 tests=[AWL=0.094, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O6K_OwHBbbQD for ; Wed, 31 Jan 2018 12:31:15 -0800 (PST) Received: from ulminfo.fr (ulminfo.fr [5.135.188.139]) by arlo.cworth.org (Postfix) with ESMTPS id CDC1D6DE01E2 for ; Wed, 31 Jan 2018 12:31:14 -0800 (PST) Received: from zeta (unknown [37.171.122.157]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ulminfo.fr (Postfix) with ESMTPSA id 058BAC1FED; Wed, 31 Jan 2018 21:31:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=a3nm.net; s=default; t=1517430671; bh=iFaM7E+t3OO/1pd310ERIm8aIimtBtdvP2vOO5ej7gA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LrF9Hv7lX/OvSE8upvxaItWo3SQDHazQmvTgMjWlThXGQYg8DM48E0yWQOyDn0phW yJGuJb58EEP6b7mNZm8R2ZbqIpVJeycVG4pXsrg3Diz56hqIfhPpj296D9zjBfaQY4 MYZrzGH8nv/e5jXk7fKDanm7HoCh/jVQOivJE5dg= Date: Wed, 31 Jan 2018 21:31:10 +0100 From: Antoine Amarilli To: Daniel Kahn Gillmor Cc: notmuch@notmuchmail.org Subject: Re: Bug?: manpages are only readable by root when doing sudo make install with umask 077 Message-ID: <20180131203110.pgpwchn62fvq653p@zeta> References: <20180110153814.s3ptgetykmruivac@zeta> <87tvvt3cpk.fsf@fifthhorseman.net> <20180110182959.nci4wukse5y4yvot@zeta> <87h8rt30sy.fsf@fifthhorseman.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="r2eymxjbcdjklzny" Content-Disposition: inline In-Reply-To: <87h8rt30sy.fsf@fifthhorseman.net> User-Agent: NeoMutt/20171215 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.24 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2018 20:31:16 -0000 --r2eymxjbcdjklzny Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. Looking more closely I think the issue is only with the > > permissions of the directories /usr/local/share/man/man*, not the files > > that they contain. Of course this is still an obstacle for the manpages > > to be readable. So I guess the following in doc/Makefile.local (just > > above what you quoted): > > =20 > > mkdir -p "$(DESTDIR)$(mandir)/man1" > > mkdir -p "$(DESTDIR)$(mandir)/man5" > > mkdir -p "$(DESTDIR)$(mandir)/man7" > > > > does not override the umask. I suspect that the parameter -m0644 should > > be passed to these invocations too. >=20 > That sounds about right, though i think you want -m0755, since the > directories need the executable bit set to be traversable. Correct, thanks for pointing this out! > Would you try this out (probably have to remove the existing directories > first to test it, assuming that there's nothing there from anything > other than notmuch), Yup, it works. > and then send a patch directly to the mailing list? Doing this in a separate email. Best, --=20 Antoine Amarilli --r2eymxjbcdjklzny Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEOcjWpfrki1T9GCYxgNiLItQzAzEFAlpyJ44ACgkQgNiLItQz AzHAbw//YY1NdHi8uBtD5oX5Ac9BYby0rsWL5O8PlFq+MUScghAy6/xdIC3HG6N0 wjEDEfH2epf3Lf3cqveyEIsrDHiMdmC2vYfbrN3///WIyXSq744uvw76n4gm17kh XCsgyH0sUTVOhvfE3SnBssihjuCJd6lQDd6uHujbx+Patiw8GZG9mJ3fZmozW2Zi NNf/+KeEyeuYubPgQSI1+UnyHfCyo+P6iSzW0vgnKEHylcdNnhcdiavIcfRBplEh YlM1D3v0d3dFzXJQA4b6fHgUqC7oc20pYbl15cLtpwWrv0MO/baFBf4FLDo/a/wl aIZxDE8te0GOSNzNDyg/c6kYYIusb+hAYuxpmmpEI0sr79pLwPU3u+B0Idu5SW3j 1qRHZ+Rt2XSFOnYWZinFi3myH1mLSs3UmQdypR52kr1ruQx+e8cyIlbs2BIe/bKD g6mzo4osr7vlOVAHUz3zCJNxCxyokvqANIUCTggLkJmhA+TC7+HqMCZeDZJGm9Ua g/AJi43u8S2ZlDaPhUgeG32yqakfR3QCiyvqwg+tk7uScvKZUlslXAb2DLKXZDRM EXLuSiL+oNKRrg4PeKAU6/cYxHA+OkwNMWE7VksIF1gxhvpXmu+APRsKsauxo9t9 SSoLLTyp25ChoBUW65PDi6rSrkVSvkRnQzx74jr3KWcY+/JjbSo= =6Ebw -----END PGP SIGNATURE----- --r2eymxjbcdjklzny--