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 E89246DE0215 for ; Wed, 10 Jan 2018 07:45:51 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.101 X-Spam-Level: X-Spam-Status: No, score=-0.101 tagged_above=-999 required=5 tests=[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 CHDi26T8_gLf for ; Wed, 10 Jan 2018 07:45:51 -0800 (PST) Received: from ulminfo.fr (ulminfo.fr [5.135.188.139]) by arlo.cworth.org (Postfix) with ESMTPS id C80266DE0207 for ; Wed, 10 Jan 2018 07:45:50 -0800 (PST) Received: from zeta (unknown [37.171.115.219]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ulminfo.fr (Postfix) with ESMTPSA id 4E1F2C127C; Wed, 10 Jan 2018 16:38:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=a3nm.net; s=default; t=1515598695; bh=p+lBGJ4KtOo/3KCb0kRbYvWKlphoj84VLZr6uFVJTD0=; h=Date:From:To:Subject:From; b=Hm2zZvzhXukwDeabse917pk8TJzS3v26QqcXmvYUPt3w+qft4MCBzoVUTj4PGYTb6 TbrFuDD24IbiUjcDzthqiLNLVVXE4IZwpJrSzskiPBrx2q+wCr6nzVu7bZlXKVwDEZ pVrjur5j0s/EcnclnTHFAB0R7sr06hMcTPZThkBU= Date: Wed, 10 Jan 2018 16:38:14 +0100 From: Antoine Amarilli To: notmuch@notmuchmail.org Subject: Bug?: manpages are only readable by root when doing sudo make install with umask 077 Message-ID: <20180110153814.s3ptgetykmruivac@zeta> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cybjh55rzmqyidam" Content-Disposition: inline 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, 10 Jan 2018 15:45:52 -0000 --cybjh55rzmqyidam Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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, --=20 Antoine Amarilli --cybjh55rzmqyidam Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEOcjWpfrki1T9GCYxgNiLItQzAzEFAlpWM2UACgkQgNiLItQz AzGu3RAAmdyaeE7gPPjQ8nHCR2Nuc8JdDXbRgwBdy0qPHSrhh2SnDuZ0FDcK65v+ 8OPRiRIPE+sHTEju5x5E6Jp46Jsv4cnde/vDWVNqvqUyxYNm3Z5c3e7aoDLOlGQV Bmlforp0uhMXqWZdzjrNHer3QuRd1X1GW+a6GeJ7q0uMn89VvFiVC+c1V3QiPvBO twcS+YySCaSgfQyVpdtw5ZKUqlGRrdS69dkMBPLbVo2ZoWKT+TXyHh4bo3CIir+t +LHMmfabsX6C+C0Ypn7T0ZvPC1knk/GU6Q3mRW6rC9Zij8CPECtfO4hxk/8oux4n tAJfGSLLRdoPbqHMtevoVAegcnwNMIaGvn09ia2qy9CXpmUp25HnDm6kVlCw3sWP 66YA2ymq5d/TCUYJtrRQWq3scET7V6i1Dbp2tqKMpPqYKGPvWlZkuM5775L3h2IV c4cydY22eDjmGWe/uXSEKOwyNBCL5vmuQSYpq31ZO7/tVI9e5ELabybfIkm12Bhd G6qg0aBIURFc2fJpMbcgGlEcgjDgPJ1jn4VKyJx5LMoeZDiZx7LonUPyy7tPf0td d8qeIOBxWfrDblPU3BJvGs3Fl1HPzbDAhLtw33296Rsb8601Ib+fMo7lNsZ9iciU MEOHK33zad42UV5QELXUo5Lm2vFTS4iKhzLwoOnnQEf+bNt4d/o= =wwd9 -----END PGP SIGNATURE----- --cybjh55rzmqyidam--