[Python-bugs-list] [ python-Bugs-583206 ] lib-dynload/*.so wrong permissions

noreply@sourceforge.net noreply@sourceforge.net
Tue, 17 Dec 2002 08:48:15 -0800


Bugs item #583206, was opened at 2002-07-18 06:16
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=583206&group_id=5470

Category: Installation
Group: Platform-specific
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Oleg Broytmann (phd)
>Assigned to: Michael Hudson (mwh)
Summary: lib-dynload/*.so wrong permissions

Initial Comment:
/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.

----------------------------------------------------------------------

>Comment By: Michael Hudson (mwh)
Date: 2002-12-17 16:48

Message:
Logged In: YES 
user_id=6656

fixed by patch 629278

----------------------------------------------------------------------

Comment By: J. Lewis Muir (jlmuir)
Date: 2002-10-27 01:09

Message:
Logged In: YES 
user_id=527708

I've submitted a patch for this. It is patch #629278
"install lib-dynload .so files mode 555".

----------------------------------------------------------------------

Comment By: Marco De la Cruz (kimji)
Date: 2002-09-25 16:13

Message:
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).

----------------------------------------------------------------------

Comment By: Oleg Broytmann (phd)
Date: 2002-07-18 09:09

Message:
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.

----------------------------------------------------------------------

Comment By: Oleg Broytmann (phd)
Date: 2002-07-18 09:09

Message:
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.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=583206&group_id=5470