[Python-checkins] bpo-34245: install Python shared library with more standard 0755 mode (GH-8492)

Ned Deily webhook-mailer at python.org
Sun Dec 9 02:46:54 EST 2018


https://github.com/python/cpython/commit/25648d05ac3d74c436f951579bbb716372fb8cc7
commit: 25648d05ac3d74c436f951579bbb716372fb8cc7
branch: master
author: jdemeyer <jdemeyer at cage.ugent.be>
committer: Ned Deily <nad at python.org>
date: 2018-12-09T02:46:50-05:00
summary:

bpo-34245: install Python shared library with more standard 0755 mode (GH-8492)

files:
A Misc/NEWS.d/next/Build/2018-07-27-09-52-48.bpo-34245.bBV0NI.rst
M Makefile.pre.in

diff --git a/Makefile.pre.in b/Makefile.pre.in
index 02ce0af55ce2..f16eb96418e9 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -69,8 +69,7 @@ INSTALL_SCRIPT= @INSTALL_SCRIPT@
 INSTALL_DATA=	@INSTALL_DATA@
 # Shared libraries must be installed with executable mode on some systems;
 # rather than figuring out exactly which, we always give them executable mode.
-# Also, making them read-only seems to be a good idea...
-INSTALL_SHARED= ${INSTALL} -m 555
+INSTALL_SHARED= ${INSTALL} -m 755
 
 MKDIR_P=	@MKDIR_P@
 
diff --git a/Misc/NEWS.d/next/Build/2018-07-27-09-52-48.bpo-34245.bBV0NI.rst b/Misc/NEWS.d/next/Build/2018-07-27-09-52-48.bpo-34245.bBV0NI.rst
new file mode 100644
index 000000000000..3822bb0e4f08
--- /dev/null
+++ b/Misc/NEWS.d/next/Build/2018-07-27-09-52-48.bpo-34245.bBV0NI.rst
@@ -0,0 +1,2 @@
+The Python shared library is now installed with write permission (mode 0755),
+which is the standard way of installing such libraries.



More information about the Python-checkins mailing list