From e6fb451e42301b28e4d0263c6d97736226aa9ca7 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Fri, 22 Nov 2019 11:34:58 +0300 Subject: [PATCH] More umask friendly permissions in tarball --- makedist.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makedist.sh b/makedist.sh index 879a373..57a188a 100755 --- a/makedist.sh +++ b/makedist.sh @@ -33,8 +33,8 @@ mkdir -p src/golang.org/x/crypto find . -name .git -type d | xargs rm -fr rm -f *.texi www.mk style.css makedist* TODO -find . -type d -exec chmod 700 {} \; -find . -type f -exec chmod 600 {} \; +find . -type d -exec chmod 755 {} \; +find . -type f -exec chmod 644 {} \; cd .. tar cvf gogost-"$release".tar --uid=0 --gid=0 --numeric-owner gogost-"$release" -- 2.44.0