]> Cypherpunks.ru repositories - nncp.git/commitdiff
umask friendly permissions for files in release tarball
authorSergey Matveev <stargrave@stargrave.org>
Wed, 13 Nov 2019 07:05:29 +0000 (10:05 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 13 Nov 2019 13:03:37 +0000 (16:03 +0300)
makedist.sh

index ac305c89f9e1acf9f06a73ff5fe3d4e81d4fbcf8..67419a18a788da504b1509c01b18433bbf8ab7cd 100755 (executable)
@@ -156,9 +156,9 @@ rm -f $texi
 mv doc/.well-known/openpgpkey/hu/i4cdqgcarfjdjnba6y4jnf498asg8c6p.asc PUBKEY.asc
 rm -r doc/.gitignore doc/.well-known doc/nncp.html/.well-known
 
-find . -type d -exec chmod 700 {} \;
-find . -type f -exec chmod 600 {} \;
-find . -type f -name "*.sh" -exec chmod 700 {} \;
+find . -type d -exec chmod 755 {} \;
+find . -type f -exec chmod 644 {} \;
+find . -type f -name "*.sh" -exec chmod 755 {} \;
 
 cd ..
 tar cvf nncp-"$release".tar --uid=0 --gid=0 --numeric-owner nncp-"$release"