Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 554348

Summary: dev-lang/python-*: installs libpython u-w
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 554258    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-07-09 16:05:06 UTC
dev-lang/python:2.7 -r-xr-xr-x /usr/lib64/libpython2.7.so.1.0
dev-lang/python:3.3 -r-xr-xr-x /usr/lib64/libpython3.3.so.1.0
dev-lang/python:3.4 -r-xr-xr-x /usr/lib64/libpython3.4.so.1.0


See the tracker for more complete explanation of issues with files not writeable by owner.
Comment 1 Mike Gilbert gentoo-dev 2015-07-09 20:02:49 UTC
From Makefile.pre.in:

# 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
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-07-09 20:09:03 UTC
Yet another good idea to thank Python developers for. I wonder how many years we will have to clean up after their ideas.
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2015-07-15 06:44:06 UTC
Any more putdowns to the developers of python? From one who would do better? Just spare us the condescension we can all do without it.