[MacPorts] #38952: Scrapy templates unreadable except by root
MacPorts
noreply at macports.org
Sun Apr 28 09:56:59 PDT 2013
#38952: Scrapy templates unreadable except by root
-------------------------+--------------------------------
Reporter: moboyle79@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Keywords: | Port:
-------------------------+--------------------------------
I installed py2.7-scrapy, and started following the basic scrapy tutorial
[http://doc.scrapy.org/en/latest/intro/tutorial.html#intro-tutorial here],
but got an error on the first step (creating a project). The command
{{{scrapy startproject tutorial}}}
gave a bunch of errors about permission denied in
{{{/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/scrapy/templates/}}}. The files in there all seemed to be
owned by root, with permissions and ownership {{{-rw------- 1 root
wheel}}}. Since the scrapy startproject command copies some of these
template files, it failed. I solved the problem by simply running
{{{sudo chmod -R +r
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/scrapy/templates/}}}
--
Ticket URL: <https://trac.macports.org/ticket/38952>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list