diff options
author | Feng Xiao <xfxyjwf@gmail.com> | 2017-12-14 17:54:18 -0800 |
---|---|---|
committer | Feng Xiao <xfxyjwf@gmail.com> | 2017-12-14 17:54:18 -0800 |
commit | 0fc85acdf2220ce21b375f97a39b4bce02d5a759 (patch) | |
tree | 8b892bf7b225f03f5699008dc9dd4fd093612468 /python | |
parent | 0a7120ac32e16d49a35abf18186c8c4db515dd02 (diff) | |
download | protobuf-0fc85acdf2220ce21b375f97a39b4bce02d5a759.tar.gz protobuf-0fc85acdf2220ce21b375f97a39b4bce02d5a759.tar.bz2 protobuf-0fc85acdf2220ce21b375f97a39b4bce02d5a759.zip |
Fix file permission for python package.
`umask 0022` makes sure the created package will be accessible by all users.
Diffstat (limited to 'python')
-rwxr-xr-x | python/release.sh | 1 |
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` |