Open umask before creating release packages
authorPhil Pennock <pdp@exim.org>
Tue, 31 Jan 2017 03:44:45 +0000 (22:44 -0500)
committerPhil Pennock <pdp@exim.org>
Tue, 31 Jan 2017 03:44:45 +0000 (22:44 -0500)
release-process/scripts/mk_exim_release
release-process/scripts/sign_exim_packages

index b07f088..17b034e 100755 (executable)
@@ -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);
index a1d6282..4ed614f 100755 (executable)
@@ -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 {} \;