[Zope-dev] compilezpy (compileall)

Danny William Adair danny@adair.net
Wed, 21 Nov 2001 18:34:28 +1300


On Wednesday 21 November 2001 17:27, Richard Jones wrote:
> On Wednesday 21 November 2001 15:12, Danny William Adair wrote:
> > I wondered if this (see subject) was totally necessary during the
> > installation. My Zope installation seems to run fine when I delete all
> > the *.pyc and just start it. Obviously it runs slower the first time, but
> > that's all I can see.
>
> If the server is run as nobody, that user probably won't have permission to
> write the compiled bytecodes to disk.

Hawhoops. Yeah, that's reason enough... of course... how could I... 
sure...

Thank you for your help.

Hmm.
As from what I know (leaving aside for a moment that I basically know 
nothing), Zope should be _started_ as root, but then be _running_ as nobody. 
This does make sense to me, in a couple of ways. :-)

Do you know when or where this "switch" to nobody is performed?

thx,
Danny