[Zope] ZPT _v_blocks error

Andrew Williams ajwms@hotmail.com
Wed, 4 Apr 2001 10:19:39 -0400


----- Original Message -----
From: "Evan Simpson" <evan@digicool.com>
To: "Andrew Williams" <ajwms91@hotmail.com>
Sent: Tuesday, April 03, 2001 11:54 PM
Subject: Re: [Zope] ZPT _v_blocks error


> Try changing the ownership of all the files in your Zope installation
> (you may want to re-install entirely) so that they are owned by the user
> under which Zope will run.  When you unpack tarballs as root, you can
> get weird and useless file ownership, as your listing shows.
>


Evan:

I completely removed and reinstalled/compiled Zope as a "normal" user.
Installed/compiled ParsedXML
Installed TAL and PageTemplates
Fired up Zope (using my "normal" account) running on port 8080
**Everything worked fine**

I then changed the port Zope was running on to port 81
chown -R nobody var
chgrp -R nobody var
Fired up Zope (using "root")
**PageTemplates _did not_ work.

Then, went to <zope>/lib/python/Products
chown -R nobody PageTemplates
chgrp -R nobody PageTemplates
Restarted Zope
**Everything worked fine**

If you want, I could try narrowing down the exact PageTemplate file(s) which
needs "nobody" as the group/owner.

Hope this helps.

Andrew