Starting zope instance problems
Hi, I've installed Python 2.3.4 in a Suse 8.2 system and then installed zope 2.7.1 and configured an instance. I did all of this logged in as root and I've chowned the instance folder to a normal user. When I tried starting this instance as the normal user, I got the first error: read permission missing for /opt/zope2.7/lib/python/Zope/Startup/zopeschema.xml I fixed this permission and of another file, then decided to start the instance as root and seting up as effective user, the normal user. I got then into lots of errors regarding reading permissions (one file at a time). I gave up and recursively gave o+r permissions to the whole installation. Finally, I got it running, but all of this smells very wrong and indeed I want to run instances as normal user. What am I doing wrong?? Fernando
Fernando Martins wrote:
I've installed Python 2.3.4 in a Suse 8.2 system and then installed zope 2.7.1 and configured an instance. I did all of this logged in as root and I've chowned the instance folder to a normal user.
When I tried starting this instance as the normal user, I got the first error:
read permission missing for /opt/zope2.7/lib/python/Zope/Startup/zopeschema.xml
I fixed this permission and of another file, then decided to start the instance as root and seting up as effective user, the normal user.
I got then into lots of errors regarding reading permissions (one file at a time). I gave up and recursively gave o+r permissions to the whole installation.
Finally, I got it running, but all of this smells very wrong and indeed I want to run instances as normal user.
What am I doing wrong??
I encountered the same problem. See my earlier post: http://mail.zope.org/pipermail/zope/2004-June/151545.html You aren't doing anything wrong. The file permissions for Zope 2.7.1 are broken since many of the files necessary to start up Zope are only owner readable. John
As I said in a former post, do not install Zope as root. No need to. Robert John E. Barham wrote:
Fernando Martins wrote:
I've installed Python 2.3.4 in a Suse 8.2 system and then installed zope 2.7.1 and configured an instance. I did all of this logged in as root and I've chowned the instance folder to a normal user.
When I tried starting this instance as the normal user, I got the first error:
read permission missing for /opt/zope2.7/lib/python/Zope/Startup/zopeschema.xml
I fixed this permission and of another file, then decided to start the instance as root and seting up as effective user, the normal user.
I got then into lots of errors regarding reading permissions (one file at
a
time). I gave up and recursively gave o+r permissions to the whole installation.
Finally, I got it running, but all of this smells very wrong and indeed I want to run instances as normal user.
What am I doing wrong??
I encountered the same problem. See my earlier post: http://mail.zope.org/pipermail/zope/2004-June/151545.html
You aren't doing anything wrong. The file permissions for Zope 2.7.1 are broken since many of the files necessary to start up Zope are only owner readable.
John
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Hi Fernando, I Install allways Python from source as root. For Zope I create a user zope su to this account and install Zope and create instances in its home folder. There are no permissions to set like that. Robert Fernando Martins wrote:
Hi,
I've installed Python 2.3.4 in a Suse 8.2 system and then installed zope 2.7.1 and configured an instance. I did all of this logged in as root and I've chowned the instance folder to a normal user.
When I tried starting this instance as the normal user, I got the first error:
read permission missing for /opt/zope2.7/lib/python/Zope/Startup/zopeschema.xml
I fixed this permission and of another file, then decided to start the instance as root and seting up as effective user, the normal user.
I got then into lots of errors regarding reading permissions (one file at a time). I gave up and recursively gave o+r permissions to the whole installation.
Finally, I got it running, but all of this smells very wrong and indeed I want to run instances as normal user.
What am I doing wrong??
Fernando
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
participants (3)
-
Fernando Martins -
John E. Barham -
robert rottermann