From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E66EC158030 for ; Sun, 26 Feb 2023 17:42:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BE891E085E; Sun, 26 Feb 2023 17:42:56 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9ED25E085E for ; Sun, 26 Feb 2023 17:42:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A9D63340D1D for ; Sun, 26 Feb 2023 17:42:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0272E807 for ; Sun, 26 Feb 2023 17:42:54 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1662532509.2c69291b26fea14b6a93f1bf6b4f0bfd7f74f7b9.ulm@gentoo> Subject: [gentoo-commits] proj/pms:eapi-9 commit in: / X-VCS-Repository: proj/pms X-VCS-Files: ebuild-format.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 2c69291b26fea14b6a93f1bf6b4f0bfd7f74f7b9 X-VCS-Branch: eapi-9 Date: Sun, 26 Feb 2023 17:42:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7b81b94a-a7df-4094-bdaf-59714a6a57b1 X-Archives-Hash: 2bca7768c941bee874ff68ad84ba2a89 Message-ID: <20230226174254.7SDmKtQHcWWAy7tXXamV3DD3Lcfv_GAtFcrJyZoq8pQ@z> commit: 2c69291b26fea14b6a93f1bf6b4f0bfd7f74f7b9 Author: Ulrich Müller gentoo org> AuthorDate: Wed Sep 7 06:35:09 2022 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Wed Sep 7 06:35:09 2022 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=2c69291b ebuild-format.tex: Document that umask is set to 022 Portage has been doing this since 2001. Closes: https://bugs.gentoo.org/868669 Reported-by: Mike Frysinger gentoo.org> Signed-off-by: Ulrich Müller gentoo.org> ebuild-format.tex | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ebuild-format.tex b/ebuild-format.tex index 25ba28e..cf06668 100644 --- a/ebuild-format.tex +++ b/ebuild-format.tex @@ -7,6 +7,9 @@ table~\ref{tab:bash-version}, or any later version. If possible, the package man the shell's compatibility level to the exact version specified. It must ensure that any such compatibility settings (e.\,g.\ the \t{BASH_COMPAT} variable) are not exported to external programs. +The file creation mask (\t{umask}) is set to \t{022} in the shell execution environment. It is +\emph{not} saved between phase functions but always reset to this initial value. + \featurelabel{failglob} For EAPIs listed such in table~\ref{tab:bash-version}, the \t{failglob} option of bash is set in the global scope of ebuilds. If set, failed pattern matches during filename expansion result in an error when the ebuild is being sourced.