At the most you only need to do this to the var directory, leave the other files owned by root or some other user. Changing ownership on the zope dir makes your superuser password file (access) available to the user nobody, probably not a good idea. hth Phil phil.harris@zope.co.uk ----- Original Message ----- From: <technews@egsx.com> To: Xeno Campanoli <xeno@aa.net> Cc: <zope@zope.org> Sent: Thursday, December 23, 1999 11:52 PM Subject: Re: [Zope] I'm having a problem with ./start of ZServer on my machine....
The way we set up the Zope directory is that we set everything to user nobody so in your case
chown -R nobody:nobody /root/shop/Zope-2.1.1-linux2-x86
and make sure that the /root/shop/Zope-2.1.1-linux2-x86/var is writable by nobody
That should solve the permission issues since the server runs as nobody (I assume)
Adonis
On Thu, 23 Dec 1999, Xeno Campanoli wrote:
The symptom is as follows:
------ 1999-12-23T19:41:32 INFO(0) ZServer PCGI Server started at Thu Dec 23 11:41:32 1999 Unix socket: /root/shop/Zope-2.1.1-linux2-x86/var/pcgi.soc ------ 1999-12-23T19:41:32 INFO(0) ZServer Monitor Server (V1.5) started on port 8099 Traceback (innermost last): File "/root/shop/Zope-2.1.1-linux2-x86/z2.py", line 574, in ? pf = open(PID_FILE, 'w') IOError: [Errno 13] Permission denied: '/root/shop/Zope-2.1.1-linux2-x86/var/Z2.pid' devil:~/shop/Zope-2.1.1-linux2-x86#
the latter indicated directory being in /root for the root user. As this is apparently supposed to work 'out of the box', I thought it would be worth emailing you first.
My system is a Debian slink, and cksum gets the following:
1156543682 2384334 Zope-2.1.1-linux2-x86.tgz
Please advise. Thank you. Sincerely, Xeno
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )