[MacPorts] #34437: py-scikits-learn permissions error for installed files
MacPorts
noreply at macports.org
Sun May 13 18:13:48 PDT 2012
#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
More information about the macports-tickets
mailing list