From: Sergey Matveev Date: Fri, 22 Nov 2019 08:34:58 +0000 (+0300) Subject: More umask friendly permissions in tarball X-Git-Tag: v4.2.1~4 X-Git-Url: http://www.git.cypherpunks.ru/?p=gogost.git;a=commitdiff_plain;h=e6fb451e42301b28e4d0263c6d97736226aa9ca7 More umask friendly permissions in tarball --- 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"