[Zope] Newbie install problems

Thomas Guettler Thomas Guettler <thomas@thomas-guettler.de>
Fri, 21 Feb 2003 08:18:08 +0100


On Thu, Feb 20, 2003 at 02:41:09PM -0500, Brendan Pirie wrote:
> I'm trying to setup Zope 2.6.1 on a fresh install of RedHat 8.0 and running
> into some difficulty.  I've configured zope to run as user 'zope' and
> chmod -R zope.zope the main Zope dir, so I wouldn't think it would be a
> permissions issue.  Zope starts up fine, but when I try to access the
> management page I get a an error after entering the initial username and
> password provided by the install script.  I've been reading through the
> docs, faqs, and searching online, but so far I haven't found a solution to
> this.  Listed below are some of the details.  Any help appreciated.

chmod -R zope.zope does not work, 

you mean "chown".


> Error Type: IOError
> Error Value: [Errno 13] Permission denied:
> '/root/Zope-2.6.1-linux2-x86/lib/python/App/dtml/manage.dtml'

This is a permission problem. What does 'ls -l $file' show?

Have a look with "ps" what userid the zope server uses. But AFAIK zope
does not change its uid.

One other way to check the permissions:

su zope
cat $file

try the following in your zope-home:
chmod -R 755 . 

 thomas

-- 
Thomas Guettler <guettli@thomas-guettler.de>
http://www.thomas-guettler.de