[Zope] which permissions are needed to create .pyc files

Dieter Maurer dieter@handshake.de
Wed, 19 Feb 2003 20:49:30 +0100


Joachim Schmitz wrote at 2003-2-18 19:48 +0100:
 > I have my Zope-Process running with uid zope and uid zope in the group 
 > users.
 > I am developing a product MyProduct in
 > 
 > ZINSTANCE_HOME/Products/MyProducts with this setting:
 > 
 > drwxrwxr-x    6 perry    users         616 Feb 18 20:25 MyProduct
 > 
 > when I refresh MyProduct in the control-panel, no .pyc files are created.
 > 
 > the amazing thing is that when I run python as the user zope and do an
 > import MyProduct in the Products
 > 
 > the .pyc files are created with:

Looks as if your Zope would not run as user "zope" (or at least not be
in group "users")


Dieter