From: Phil Pennock Date: Tue, 31 Jan 2017 03:44:45 +0000 (-0500) Subject: Open umask before creating release packages X-Git-Tag: exim-4_89_RC3~28 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/25af913afa0c279dac709ea6cf7f6a0231d655f8 Open umask before creating release packages --- diff --git a/release-process/scripts/mk_exim_release b/release-process/scripts/mk_exim_release index b07f088c8..17b034e4e 100755 --- a/release-process/scripts/mk_exim_release +++ b/release-process/scripts/mk_exim_release @@ -418,6 +418,7 @@ MAIN: { 'web!' => \$context->{web}, ) and @ARGV == 1 or pod2usage; + umask(022); get_and_check_version( shift, $context ); fix_paths_tar($context); $context->{tag} = build_tag($context); diff --git a/release-process/scripts/sign_exim_packages b/release-process/scripts/sign_exim_packages index a1d6282bb..4ed614f19 100755 --- a/release-process/scripts/sign_exim_packages +++ b/release-process/scripts/sign_exim_packages @@ -10,6 +10,8 @@ dir=${1:?start directory} : ${EXIM_KEY:=nigel@exim.org} +umask 022 + find "$dir" \ -type f -name '*.tar.*' \ -exec gpg --local-user ${EXIM_KEY} --detach-sig --armor {} \;