Commit 54d6451d authored by Andrew M. Kuchling's avatar Andrew M. Kuchling

Fix mode on scripts to have the read bit set (noted by Nicholas Riley)

parent 6efa8462
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment