[Zope] installing and running zope problem (r.h. linux 7.2)

Duane Douglas ddouglas@mindspring.com
Fri, 01 Mar 2002 12:46:22 -0500


At 05:37 PM 3/1/2002 +0000, seb bacon wrote:
>Keep it on the list!
>
>On Fri, 2002-03-01 at 17:12, Duane Douglas wrote:
> > At 05:02 PM 3/1/2002 +0000, seb bacon wrote:
> > >Not quite sure how you've got into that situation.  To run Zope as a
> > >user 'zope' you can still *start* it as root.  As root, try:
> > >
> > >./start -u zope
> >
> > now i'm getting the startup exception again.  the output is below:
> >
>
><snip>
>
> > 2002-03-01T17:20:31 PANIC(300) z2 Startup exception
> > Traceback (innermost last):
> >    File /usr/local/zope/Zope-2.5.0-linux2-x86/z2.py, line 688, in ?
> > IOError: [Errno 13] Permission denied:
> > '/usr/local/zope/Zope-2.5.0-linux2-x86/var/Z2.pid'
>
>So, the user 'zope' does not have write access to the var directory and
>therefore cannot create the Z2.pid file.
>
>seb

are you sure about that?  please look at the following output:

[root@grumpy Zope-2.5.0-linux2-x86]# pwd
/usr/local/zope/Zope-2.5.0-linux2-x86
[root@grumpy Zope-2.5.0-linux2-x86]# ls -l | grep var
drwxrwxrwx    2 zope     users        4096 Mar  1 12:48 var
[root@grumpy Zope-2.5.0-linux2-x86]#

the var directory owner is *zope*  and has full access.  am i overlooking 
something?