diff options
author | Ulrich Müller <ulm@gentoo.org> | 2022-09-07 08:35:09 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2022-09-07 08:35:09 +0200 |
commit | 2c69291b26fea14b6a93f1bf6b4f0bfd7f74f7b9 (patch) | |
tree | d22c9333113e7276d8dca623866e6c5aaa789106 | |
parent | eapi-differences.tex: Small updates to the feature table (diff) | |
download | pms-2c69291b26fea14b6a93f1bf6b4f0bfd7f74f7b9.tar.gz pms-2c69291b26fea14b6a93f1bf6b4f0bfd7f74f7b9.tar.bz2 pms-2c69291b26fea14b6a93f1bf6b4f0bfd7f74f7b9.zip |
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 <vapier@gentoo.org>
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r-- | ebuild-format.tex | 3 |
1 files changed, 3 insertions, 0 deletions
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. |