Browse Source

Fix file permission for python package.

`umask 0022` makes sure the created package will be accessible by all users.
Feng Xiao 7 years ago
parent
commit
3a06fe1fc9
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`