[MacPorts] #34437: py-scikits-learn permissions error for installed files
#34437: py-scikits-learn permissions error for installed files ------------------------------------------+--------------------------------- Reporter: michelle.lynn.gill@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: py-sckits-learn ------------------------------------------+--------------------------------- The permissions for the files associated with the egg installed for py- scikits-learn (scikit_learn-0.11-py2.7.egg-info for python 2.7) need to be adjusted so that group and other have read permissions. Otherwise, the following error is produced when importing setuptools: {{{ Permission denied: '/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/scikit_learn-0.11-py2.7.egg-info/namespace_packages.txt' }}} I have added a line to the attached Portfile diff which adjusts the permissions so that group and other have read permissions for files in the egg, which is the same permissions as the files in the egg associated with py-scikits-statsmodels. I have verified that this changes fixes the error encountered upon importing secuptools. -- Ticket URL: <https://trac.macports.org/ticket/34437> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34437: py-scikits-learn permissions error for installed files ------------------------------------------+--------------------------------- Reporter: michelle.lynn.gill@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: py-sckits-learn ------------------------------------------+--------------------------------- Comment(by michelle.lynn.gill@…): Updated the diff file (to Portfile.2.diff) as I forgot to add the version variable to the egg name. Please disregard the original file, Portfile.diff. -- Ticket URL: <https://trac.macports.org/ticket/34437#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34437: py-scikits-learn permissions error for installed files ------------------------------------------+--------------------------------- Reporter: michelle.lynn.gill@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: haspatch | Port: py-sckits-learn ------------------------------------------+--------------------------------- Changes (by ryandesign@…): * cc: stromnov (removed) * owner: macports-tickets@… => stromnov@… * keywords: => haspatch Comment: The Cc field must contain complete email addresses. -- Ticket URL: <https://trac.macports.org/ticket/34437#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34437: py-scikits-learn permissions error for installed files -------------------------------------------+-------------------------------- Reporter: michelle.lynn.gill@… | Owner: stromnov@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: haspatch Port: py-sckits-learn | -------------------------------------------+-------------------------------- Changes (by stromnov@…): * status: new => closed * resolution: => fixed Comment: Thanks! Committed in r93113. -- Ticket URL: <https://trac.macports.org/ticket/34437#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts