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 4BB366DE01E9 for ; Wed, 31 Jan 2018 12:50:48 -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 r9-XxxGQZrYK for ; Wed, 31 Jan 2018 12:50:47 -0800 (PST) Received: from ulminfo.fr (ulminfo.fr [5.135.188.139]) by arlo.cworth.org (Postfix) with ESMTPS id 97D7A6DE01E2 for ; Wed, 31 Jan 2018 12:50:47 -0800 (PST) Received: from mu.a3nm.net (unknown [78.192.93.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ulminfo.fr (Postfix) with ESMTPSA id E90B1C1156; Wed, 31 Jan 2018 21:50:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=a3nm.net; s=default; t=1517431846; bh=OWy9RsQv6ZsVc+vSGwQX6kzxQfaDOB6n8FDv2RC2LYU=; h=Date:From:To:Subject:In-Reply-To:From; b=Ta5WUPeLNbEWf5GOMqt0ttruNd8sOs59UYl7IA1tiuPRPfHTfh6zbvmCm4myfsD79 kKeK+PLuotDhceuSgFIf6v5arJ40yIZBIsZtqbbkfHM7mO03CWmZZ3TqSjCi5dquRo 4409ldu3tGFcpyHANZKcQy+etsOizlC6fdfJdEAU= Date: Wed, 31 Jan 2018 21:50:45 +0100 From: Antoine Amarilli To: notmuch@notmuchmail.org Subject: [PATCH] doc: create manpage folders with right permissions Message-ID: <20180131204920.nne75zc2ptow3m5v@zeta> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20180131203110.pgpwchn62fvq653p@zeta> 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:50:48 -0000 Avoids the issue where umask can make man pages unreadable after installation. Relevant email on the mailing-list: <87h8rt30sy.fsf@fifthhorseman.net> --- doc/Makefile.local | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/Makefile.local b/doc/Makefile.local index c6f05ca8..a1739e15 100644 --- a/doc/Makefile.local +++ b/doc/Makefile.local @@ -89,9 +89,9 @@ install-man: else build-man: ${MAN_GZIP_FILES} install-man: ${MAN_GZIP_FILES} - mkdir -p "$(DESTDIR)$(mandir)/man1" - mkdir -p "$(DESTDIR)$(mandir)/man5" - mkdir -p "$(DESTDIR)$(mandir)/man7" + mkdir -m0755 -p "$(DESTDIR)$(mandir)/man1" + mkdir -m0755 -p "$(DESTDIR)$(mandir)/man5" + mkdir -m0755 -p "$(DESTDIR)$(mandir)/man7" install -m0644 $(filter %.1.gz,$(MAN_GZIP_FILES)) $(DESTDIR)/$(mandir)/man1 install -m0644 $(filter %.5.gz,$(MAN_GZIP_FILES)) $(DESTDIR)/$(mandir)/man5 install -m0644 $(filter %.7.gz,$(MAN_GZIP_FILES)) $(DESTDIR)/$(mandir)/man7 -- 2.15.1