diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2002-11-29 19:45:58 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2002-11-29 19:45:58 (GMT) |
commit | 8e30bcdaaf1961e1c75d755b916b64fd577474bb (patch) | |
tree | 52d415f8d3af39d0c6b6c568e96969189f64299d /Lib/distutils/command | |
parent | b6f7959093f73f2de3d00437c7429fc39288854a (diff) | |
download | cpython-8e30bcdaaf1961e1c75d755b916b64fd577474bb.zip cpython-8e30bcdaaf1961e1c75d755b916b64fd577474bb.tar.gz cpython-8e30bcdaaf1961e1c75d755b916b64fd577474bb.tar.bz2 |
Fix mode on scripts to have the read bit set (noted by Nicholas Riley)
Diffstat (limited to 'Lib/distutils/command')
-rw-r--r-- | Lib/distutils/command/install_scripts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/command/install_scripts.py b/Lib/distutils/command/install_scripts.py index 6572e65..abe1045 100644 --- a/Lib/distutils/command/install_scripts.py +++ b/Lib/distutils/command/install_scripts.py @@ -53,7 +53,7 @@ class install_scripts (Command): if self.dry_run: log.info("changing mode of %s", file) else: - mode = ((os.stat(file)[ST_MODE]) | 0111) & 07777 + mode = ((os.stat(file)[ST_MODE]) | 0555) & 07777 log.info("changing mode of %s to %o", file, mode) os.chmod(file, mode) |