aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeng Xiao <xfxyjwf@gmail.com>2017-12-14 17:54:18 -0800
committerFeng Xiao <xfxyjwf@gmail.com>2017-12-15 12:57:26 -0800
commit3a06fe1fc9590b534f403114a0668befba926947 (patch)
tree4e07f7ce14ed2edfa5386121a5ffafa3b2c981f1
parentc79ba5c1b6187d1a6eb1e771976483a9a7b6a434 (diff)
downloadprotobuf-3a06fe1fc9590b534f403114a0668befba926947.tar.gz
protobuf-3a06fe1fc9590b534f403114a0668befba926947.tar.bz2
protobuf-3a06fe1fc9590b534f403114a0668befba926947.zip
Fix file permission for python package.
`umask 0022` makes sure the created package will be accessible by all users.
-rwxr-xr-xpython/release.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/release.sh b/python/release.sh
index b0bf3b3f..01fc5e23 100755
--- a/python/release.sh
+++ b/python/release.sh
@@ -47,6 +47,7 @@ DEV=$2
# Make sure all files are world-readable.
find python -type d -exec chmod a+r,a+x {} +
find python -type f -exec chmod a+r {} +
+umask 0022
# Check that the supplied version number matches what's inside the source code.
SOURCE_VERSION=`get_source_version`