Skip to content

Commit 8e30bcd

Browse files
committed
Fix mode on scripts to have the read bit set (noted by Nicholas Riley)
1 parent b6f7959 commit 8e30bcd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Lib/distutils/command/install_scripts.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def run (self):
5353
if self.dry_run:
5454
log.info("changing mode of %s", file)
5555
else:
56-
mode = ((os.stat(file)[ST_MODE]) | 0111) & 07777
56+
mode = ((os.stat(file)[ST_MODE]) | 0555) & 07777
5757
log.info("changing mode of %s to %o", file, mode)
5858
os.chmod(file, mode)
5959

0 commit comments

Comments
 (0)