From 8e30bcdaaf1961e1c75d755b916b64fd577474bb Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Fri, 29 Nov 2002 19:45:58 +0000 Subject: Fix mode on scripts to have the read bit set (noted by Nicholas Riley) --- Lib/distutils/command/install_scripts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v0.12