[Zope] IOError: [Errno 13] Permission denied (Zope 2.7.3)
Magnus Lawrie
m.lawrie at gmx.net
Mon Jan 10 01:34:16 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
>
>
"/usr/local/bin/python" "/home/mdl/Zope-2.7.3-0/setup.py" \
build
--build-base="/home/mdl/Zope-2.7.3-0/build-base/python-2.3"
--build-lib="/home/mdl/Zope-2.7.3-0/build-base/python-2.3/build-lib"
--build-scripts="/home/mdl/Zope-2.7.3-0/build-base/python-2.3/build-scripts"
--build-temp="/home/mdl/Zope-2.7.3-0/build-base/python-2.3/build-temp"
running build
running build_py
running build_ext
running build
running build_py
running build
running build_scripts
echo -n "Zope 2.7.3-0" >\
"/home/mdl/Zope-2.7.3-0/lib/python/version.txt"
"/usr/local/bin/python" "/home/mdl/Zope-2.7.3-0/setup.py" install \
--home="/opt/Zope-2.7"
--build-base="/home/mdl/Zope-2.7.3-0/build-base/python-2.3"
--build-lib="/home/mdl/Zope-2.7.3-0/build-base/python-2.3/build-lib"
--build-scripts="/home/mdl/Zope-2.7.3-0/build-base/python-2.3/build-scripts"
--build-temp="/home/mdl/Zope-2.7.3-0/build-base/python-2.3/build-temp"
running install
running build
running build_py
running build_ext
running install_lib
running install_data
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