]> granicus.if.org Git - python/commitdiff
bpo-34245: install Python shared library with more standard 0755 mode (GH-8492)
authorjdemeyer <jdemeyer@cage.ugent.be>
Sun, 9 Dec 2018 07:46:50 +0000 (08:46 +0100)
committerNed Deily <nad@python.org>
Sun, 9 Dec 2018 07:46:50 +0000 (02:46 -0500)
Makefile.pre.in
Misc/NEWS.d/next/Build/2018-07-27-09-52-48.bpo-34245.bBV0NI.rst [new file with mode: 0644]

index 02ce0af55ce20b0248ff99edeb53806659e0d84e..f16eb96418e97bd1987362d12220a42ce4838f17 100644 (file)
@@ -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 (file)
index 0000000..3822bb0
--- /dev/null
@@ -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.