Skip to content

Commit 25648d0

Browse files
jdemeyerned-deily
authored andcommitted
bpo-34245: install Python shared library with more standard 0755 mode (GH-8492)
1 parent de9e9b4 commit 25648d0

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Makefile.pre.in

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ INSTALL_SCRIPT= @INSTALL_SCRIPT@
6969
INSTALL_DATA= @INSTALL_DATA@
7070
# Shared libraries must be installed with executable mode on some systems;
7171
# rather than figuring out exactly which, we always give them executable mode.
72-
# Also, making them read-only seems to be a good idea...
73-
INSTALL_SHARED= ${INSTALL} -m 555
72+
INSTALL_SHARED= ${INSTALL} -m 755
7473

7574
MKDIR_P= @MKDIR_P@
7675

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
The Python shared library is now installed with write permission (mode 0755),
2+
which is the standard way of installing such libraries.

0 commit comments

Comments
 (0)