From f9b04bd48bb3caa85b975262ce9248d783a33b44 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Wed, 24 May 2023 22:48:14 +0200 Subject: [PATCH] SCRIPTS: publish-release: update the umask to keep group write access This is to avoid the occasional error that arises when a release is first done by another maintainer. --- scripts/publish-release | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/publish-release b/scripts/publish-release index 3cf32d80c5..9066d4add7 100755 --- a/scripts/publish-release +++ b/scripts/publish-release @@ -22,6 +22,9 @@ NEW= DIR= DOC=( ) +# need to have group write on emitted files for others to update +umask 002 + die() { [ "$#" -eq 0 ] || echo "$*" >&2 exit 1