From 25af913afa0c279dac709ea6cf7f6a0231d655f8 Mon Sep 17 00:00:00 2001 From: Phil Pennock Date: Mon, 30 Jan 2017 22:44:45 -0500 Subject: [PATCH] Open umask before creating release packages --- release-process/scripts/mk_exim_release | 1 + release-process/scripts/sign_exim_packages | 2 ++ 2 files changed, 3 insertions(+) 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 {} \; -- 2.30.2