This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: lib-dynload/*.so wrong permissions
Type: Stage:
Components: Installation Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: mwh Nosy List: jlmuir, kimji, mwh, phd
Priority: normal Keywords:

Created on 2002-07-18 05:16 by phd, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Messages (6)
msg11604 - (view) Author: Oleg Broytman (phd) * Date: 2002-07-18 05:16
/usr/local/lib/python2.1/lib-dynload/*.so files have
wrong permissions after "make install".

I m paranoid sysadmin and always use "umask 027"
(rwxr-x---). When I compile python all files got
corresponding permissions.
After "su root" and "make install" all files are
installed with correct permissions (rwxr-xr-x) except
for those lib-dynload/*.so which are installed with
wrong permissions (rwxr-x---).

Permissions were correct for Python 1.5.2 and 2.0.
Permissions are incorrect for Python 2.1 and 2.2.
msg11605 - (view) Author: Oleg Broytman (phd) * Date: 2002-07-18 08:09
Logged In: YES 
user_id=4799

I forgot to mention but I really always run "umask 022; make
install" and thus all files/directories got correct permissions.
msg11606 - (view) Author: Oleg Broytman (phd) * Date: 2002-07-18 08:09
Logged In: YES 
user_id=4799

I forgot to mention but I really always run "umask 022; make
install" and thus all files/directories got correct permissions.
msg11607 - (view) Author: Marco De la Cruz (kimji) Date: 2002-09-25 15:13
Logged In: YES 
user_id=617943

As an addendum, the permissions problems can manifest
itself in non-obvious ways. It took me a while to figure out
why I could only load some modules but not others.

I don't think one should have to change the umask, instead
"install" should be used consistently (the *.so files are just
copied over).
msg11608 - (view) Author: J. Lewis Muir (jlmuir) Date: 2002-10-27 00:09
Logged In: YES 
user_id=527708

I've submitted a patch for this. It is patch #629278
"install lib-dynload .so files mode 555".
msg11609 - (view) Author: Michael Hudson (mwh) (Python committer) Date: 2002-12-17 16:48
Logged In: YES 
user_id=6656

fixed by patch 629278
History
Date User Action Args
2022-04-10 16:05:30adminsetgithub: 36907
2002-07-18 05:16:47phdcreate