I've been trying to read the archives, but getting nowhere. Zope was installed by a non-root user, and now we wish to start it in rc.d/init.d so that it runs as nobody. We don't mind the 8080 port at all. But when root starts Zope, Z2.pid permissions seem to intrude, and I've tried every permutation and combination possible (I think) hacking (a random walk really) searching for a combination which will work. Can some one definitively explain how to set _ALL_ the permissions, etc., so that Zope can start properly on boot? Thanks Carl David david@uconnvm.uconn.edu
Carl, the var folder needs to be writable by the nobody user (whatever that equates to in your machine). Phil ----- Original Message ----- From: "Carl David" <david@uconnvm.uconn.edu> To: <zope@zope.org> Sent: Monday, March 26, 2001 3:12 PM Subject: [Zope] Z2.pid permissions
I've been trying to read the archives, but getting nowhere. Zope was installed by a non-root user, and now we wish to start it in rc.d/init.d so that it runs as nobody. We don't mind the 8080 port at all. But when root starts Zope, Z2.pid permissions seem to intrude, and I've tried every permutation and combination possible (I think) hacking (a random walk really) searching for a combination which will work. Can some one definitively explain how to set _ALL_ the permissions, etc., so that Zope can start properly on boot? Thanks Carl David david@uconnvm.uconn.edu
_______________________________________________ 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 )
Can some one definitively explain how to set _ALL_ the permissions, etc., so that Zope can start properly on boot?
for the most part, zope under apache should be running as nobody. unless you change something during your setup that makes it run differntly. but if you did the default installation, it should be ok. to change all the owner for everything under a certain directory. as root, in the /opt directory, type: $ chown -R nobody.nobody zope this will recurse the change owner down through the directory and all its subdirectories, setting both owner and group to nobody. also, in httpd.conf file, there are two lines that direct who the owner and group for your web files run as, if these are not nobody change them in that file. restart apache and zope and you should have everything set up. ciao! greg. Gregory Haley DBA/Web Programmer Venaca, LLC.
Thanks Carl David david@uconnvm.uconn.edu
participants (3)
-
Carl David -
ghaley@mail.venaca.com -
Phil Harris