Browse Source

Merge pull request #4053 from xfxyjwf/fixumask

Fix file permission for python package.
Feng Xiao 7 years ago
parent
commit
77d32bc56c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      python/release.sh

+ 1 - 0
python/release.sh

@@ -47,6 +47,7 @@ DEV=$2
 # Make sure all files are world-readable.
 # Make sure all files are world-readable.
 find python -type d -exec chmod a+r,a+x {} +
 find python -type d -exec chmod a+r,a+x {} +
 find python -type f -exec chmod a+r {} +
 find python -type f -exec chmod a+r {} +
+umask 0022
 
 
 # Check that the supplied version number matches what's inside the source code.
 # Check that the supplied version number matches what's inside the source code.
 SOURCE_VERSION=`get_source_version`
 SOURCE_VERSION=`get_source_version`