]> Cypherpunks.ru repositories - gogost.git/commitdiff
More umask friendly permissions in tarball
authorSergey Matveev <stargrave@stargrave.org>
Fri, 22 Nov 2019 08:34:58 +0000 (11:34 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Fri, 22 Nov 2019 08:34:58 +0000 (11:34 +0300)
makedist.sh

index 879a37357dd02a36626854f1f72ff94ae01eb144..57a188a95ce934addeaf8771a47bfda2dcae126c 100755 (executable)
@@ -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"