]> Cypherpunks.ru repositories - nncp.git/blobdiff - makedist.sh
umask friendly permissions for files in release tarball
[nncp.git] / 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"