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 8CC386DE0207 for ; Wed, 10 Jan 2018 12:42:01 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.025 X-Spam-Level: X-Spam-Status: No, score=-0.025 tagged_above=-999 required=5 tests=[AWL=-0.025] 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 5-Ykzj8RCrgW for ; Wed, 10 Jan 2018 12:42:01 -0800 (PST) Received: from che.mayfirst.org (che.mayfirst.org [162.247.75.118]) by arlo.cworth.org (Postfix) with ESMTPS id E70F96DE01EB for ; Wed, 10 Jan 2018 12:42:00 -0800 (PST) Received: from fifthhorseman.net (unknown [38.109.115.130]) by che.mayfirst.org (Postfix) with ESMTPSA id 346F0F99B; Wed, 10 Jan 2018 15:41:53 -0500 (EST) Received: by fifthhorseman.net (Postfix, from userid 1000) id 01D8620683; Wed, 10 Jan 2018 15:41:55 -0500 (EST) From: Daniel Kahn Gillmor To: Tomi Ollila , Antoine Amarilli , notmuch@notmuchmail.org Subject: Re: Bug?: manpages are only readable by root when doing sudo make install with umask 077 In-Reply-To: References: <20180110153814.s3ptgetykmruivac@zeta> <87tvvt3cpk.fsf@fifthhorseman.net> <20180110182959.nci4wukse5y4yvot@zeta> Date: Wed, 10 Jan 2018 15:41:55 -0500 Message-ID: <87efmx30q4.fsf@fifthhorseman.net> MIME-Version: 1.0 Content-Type: text/plain 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 20:42:01 -0000 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 install") who might not have the same umask. I think this is the right thing to do if we want the installation to actually work for people. fixing the mkdir invocations just brings them in line with the logic of the /usr/bin/install invocations. --dkg