Jelajahi Sumber

Merge pull request #4053 from xfxyjwf/fixumask

Fix file permission for python package.
Feng Xiao 7 tahun lalu
induk
melakukan
77d32bc56c
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      python/release.sh

+ 1 - 0
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`