[Python-bugs-list] [ python-Bugs-731631 ] OSX installer .pkg file permissions
SourceForge.net
noreply@sourceforge.net
Thu, 19 Jun 2003 14:29:47 -0700
Bugs item #731631, was opened at 2003-05-03 00:34
Message generated for change (Comment added) made by jackjansen
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=731631&group_id=5470
Category: Macintosh
Group: Python 2.3
>Status: Pending
>Resolution: Fixed
Priority: 5
Submitted By: Just van Rossum (jvr)
Assigned to: Jack Jansen (jackjansen)
Summary: OSX installer .pkg file permissions
Initial Comment:
The files installed by the OSX installer .pkg should be group writable.
This goes both for the files installed in /Library/Frameworks/
Python.framework and /Applications/MacPython-2.3
----------------------------------------------------------------------
>Comment By: Jack Jansen (jackjansen)
Date: 2003-06-19 23:29
Message:
Logged In: YES
user_id=45365
I think this is finally fixed. Could you do me a favor and test it?
Just run Mac/OSX/Dist/build, remove your current /Library/
Frameworks/Python.framework and /Application/MacPython-2.3
and try the installer built by "build".
----------------------------------------------------------------------
Comment By: Just van Rossum (jvr)
Date: 2003-05-08 01:14
Message:
Logged In: YES
user_id=92689
Maybe my diagnosis is off. When I install (a non-framework) Python from the
source, I don't use sudo, I just do "make install". In that case all files are
owned by me. The installer however installs everything as root, and with the
files being not group writable it means that I (even as an admin) can't move/
overwrite/delete the files without using sudo or changing the permissions.
I would expect to be able to have write permissions to the installed files if
I'm an admin user. Don't know how to fix that easily, either.
----------------------------------------------------------------------
Comment By: Jack Jansen (jackjansen)
Date: 2003-05-07 14:04
Message:
Logged In: YES
user_id=45365
This turns out to be non-trivial: the installed Python tree that is used to
create the installer has group-write turned off, that's the way Python always
installs the tree.
I could do a recursive chmod g+w before creating the installer, what do you
think, would that be safe?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=731631&group_id=5470