Opened 7 years ago

Closed 6 years ago

#53828 closed defect (fixed)

incorrect permissions for python36 Applications

Reported by: gnw3 Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.4.0
Keywords: Cc:
Port: python36

Description

I installed python36 on El Capitan using macports 2.4.0

Trying to run Python 3.6 IDLE.app gives "You can't open the application "IDL.app" because it may be damaged or incomplete. Python 3.5 version works. The Python 3.6 IDLE.app directory lacks execute permissions for non-root users:

$ ls -ld /Applications/MacPorts/Python\ 3.*/IDLE.app
drwxr-xr-x  3 root  admin  102 20 Jan 07:47 /Applications/MacPorts/Python 3.4/IDLE.app
drwxr-xr-x  3 root  admin  102 22 Jan 15:19 /Applications/MacPorts/Python 3.5/IDLE.app
drwxr--r--  3 root  admin  102  3 Mar 13:12 /Applications/MacPorts/Python 3.6/IDLE.app

Other directories also have incorrect permissions:

$ sudo find /Applications/MacPorts/Python\ 3.6 -type d -print0 | xargs -0 sudo ls -ld 
drwxr-xr-x  4 root  admin  136 17 Mar 10:41 /Applications/MacPorts/Python 3.6
drwxr--r--  3 root  admin  102 17 Mar 10:41 /Applications/MacPorts/Python 3.6/IDLE.app
drwxr--r--  6 root  admin  204 17 Mar 10:41 /Applications/MacPorts/Python 3.6/IDLE.app/Contents
drwxr--r--  4 root  admin  136 17 Mar 10:41 /Applications/MacPorts/Python 3.6/IDLE.app/Contents/MacOS
drwxr--r--  6 root  admin  204 17 Mar 10:41 /Applications/MacPorts/Python 3.6/IDLE.app/Contents/Resources
drwxr-xr-x  3 root  admin  102 17 Mar 10:41 /Applications/MacPorts/Python 3.6/Python Launcher.app
drwxr-xr-x  5 root  admin  170 17 Mar 10:41 /Applications/MacPorts/Python 3.6/Python Launcher.app/Contents
drwxr-xr-x  3 root  admin  102 17 Mar 10:41 /Applications/MacPorts/Python 3.6/Python Launcher.app/Contents/MacOS
drwxr-xr-x  7 root  admin  238 17 Mar 10:41 /Applications/MacPorts/Python 3.6/Python Launcher.app/Contents/Resources
drwxr--r--  6 root  admin  204 17 Mar 10:41 /Applications/MacPorts/Python 3.6/Python Launcher.app/Contents/Resources/English.lproj
drwxr--r--  5 root  admin  170 17 Mar 10:41 /Applications/MacPorts/Python 3.6/Python Launcher.app/Contents/Resources/English.lproj/MainMenu.nib
drwxr--r--  5 root  admin  170 17 Mar 10:41 /Applications/MacPorts/Python 3.6/Python Launcher.app/Contents/Resources/English.lproj/MyDocument.nib
drwxr--r--  5 root  admin  170 17 Mar 10:41 /Applications/MacPorts/Python 3.6/Python Launcher.app/Contents/Resources/English.lproj/PreferenceWindow.nib

Change History (4)

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Cc: jwa@… removed
Owner: set to jyrkiwahlstedt
Status: newassigned

comment:2 Changed 7 years ago by ned-deily (Ned Deily)

This was likely due to a permissions problem with the upstream Python-3.6.0.tgz tarball (sorry about that!) and with the slightly unorthodox way that Python installs the IDLE.app bundle. See https://bugs.python.org/issue29574. It should no longer be a problem with the port updated to Python 3.6.1.

comment:3 Changed 7 years ago by jmroot (Joshua Root)

Owner: changed from jyrkiwahlstedt to jmroot

comment:4 Changed 6 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

Closing as per comment:2.

Note: See TracTickets for help on using tickets.