Merge branch 'feature/custom-umask'

github.com/ccin2p3/easy-rsa into ccin2p3-feature/custom-umask

Fix typo: 'defúlts' -> 'default'

Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
This commit is contained in:
Richard T Bonhomme 2022-03-22 12:58:07 +00:00
commit 5ece7ccb3d
No known key found for this signature in database
GPG Key ID: 2D767DB92FB6C246
2 changed files with 4 additions and 1 deletions

View File

@ -120,5 +120,8 @@ possible terse description is shown below:
password using any openssl password options like pass:1234 or env:var
* `EASYRSA_PASSOUT` (CLI: `--passout`) - allows to specify a source for
password using any openssl password options like pass:1234 or env:var
* `EASYRSA_UMASK` - safe umask to use for file creation. Defaults to `077`
* `EASYRSA_NO_UMASK` - disable safe umask. Files will be created using the
system's default
**NOTE:** the global options need to be provided before the actual commands.

View File

@ -2488,7 +2488,7 @@ NL='
'
# Be secure with a restrictive umask
[ -z "$EASYRSA_NO_UMASK" ] && umask 077
[ -z "$EASYRSA_NO_UMASK" ] && umask ${EASYRSA_UMASK:-077}
# Parse options
while :; do