Hi Oscar, Oscar Picasso wrote:
Hi, I have installed Zope 2.1.6 in Red Hat Linux 6.2 box. I followed the How-To installing and Upgrading Zope 2.x. No problems expect when I try to run a method of a Python Class that is used as Z base class.
My method works fine with the python interpreter. However when I tried it within Zope i get
Error Value: [Errno 13] Permission denied
I have been trying many things to solve this problem (changing permissions of the directory i want to accesss to, of the module, ...). What is the right thing to do? It has surely more to do with the Unix permissions but i don't know to solve this problem.
Here is what i have done.
#### My base class: #### in /usr/local/zope/lib/python/Products/BaseStore/BaseStore.py #### -rw-rw-r-- 1 root root 1273 Apr 14 15:37 BaseStore.py
You are probably starting zope as root also. So zope considers to change euid to nobody in this case. Eventually the directory in question is not xr- in the case. HTH Tino Wildenhain