From 25648d05ac3d74c436f951579bbb716372fb8cc7 Mon Sep 17 00:00:00 2001 From: jdemeyer Date: Sun, 9 Dec 2018 08:46:50 +0100 Subject: [PATCH] bpo-34245: install Python shared library with more standard 0755 mode (GH-8492) --- Makefile.pre.in | 3 +-- .../NEWS.d/next/Build/2018-07-27-09-52-48.bpo-34245.bBV0NI.rst | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 Misc/NEWS.d/next/Build/2018-07-27-09-52-48.bpo-34245.bBV0NI.rst diff --git a/Makefile.pre.in b/Makefile.pre.in index 02ce0af55ce..f16eb96418e 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 00000000000..3822bb0e4f0 --- /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.