[Zope] IOError: [Errno 13] Permission denied (Zope 2.7.3)

Magnus Lawrie m.lawrie at gmx.net
Mon Jan 10 01:46:19 EST 2005


Andreas Jung wrote:
> 
> 
> --On Montag, 10. Januar 2005 5:50 Uhr +0000 Magnus Lawrie 
> <m.lawrie at gmx.net> wrote:
> 
>> Andreas Jung wrote:
>>
>>>
>>>
>>> --On Sonntag, 9. Januar 2005 23:52 Uhr +0000 Magnus Lawrie
>>> <m.lawrie at gmx.net> wrote:
>>>
>>>> I installed python 2.3.4 and then zope 2.7.3 from source and ran
>>>> mkzopeinstance.py, but am experiencing a problem with privileges. I
>>>> gather that I have to change some, but I do not know exactly how to do
>>>> that. I have looked at
>>>>
>>>> http://www.plope.com/Books/2_7Edition/InstallingZope.stx
>>>>
>>>> And this post:
>>>>
>>>> http://www.gossamer-threads.com/lists/zope/users/177930
>>>>
>>>> ...but am no clearer.
>>>>
>>>> Runzope results in:
>>>>
>>>> IOError: [Errno 13] Permission denied:
>>>> '/home/mdl/zope-instance/var/Data.fs.lock '
>>>>
>>>
>>> This usually happens if you install or run Zope as root which is not
>>> recommended (and documented
>>> in various places).
>>>
>>> -aj
>>>
>>>
> 
> 
>> Yes, I did read that. I downloaded tarballs and worked out of my home
>> directory but (being a novice only) didn't find a better way than:
>> sudo make install
> 
> ^^^^^^^^^^^^^^^^^^
> 
> There is no reason to run "make install" as root if you compile and 
> install using the same account
> that will be used to run Zope!
> 
>> make install wouldn't complete.
> 
> 
> Why not? Please provide a traceback or error messages.
> 
> Andreas
> 
> 
> 
> 
I don't have a record of the original error, but ran the make install 
command once again. The last three lines:

copying version.txt -> /opt/Zope-2.7/lib/python/.
error: /opt/Zope-2.7/lib/python/./version.txt: Permission denied
make: *** [install] Error 1


More information about the Zope mailing list