From: jdemeyer Date: Sun, 9 Dec 2018 07:46:50 +0000 (+0100) Subject: bpo-34245: install Python shared library with more standard 0755 mode (GH-8492) X-Git-Tag: v3.8.0a1~313 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=25648d05ac3d74c436f951579bbb716372fb8cc7;p=thirdparty%2FPython%2Fcpython.git bpo-34245: install Python shared library with more standard 0755 mode (GH-8492) --- 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.