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

Joachim Schmitz js@aixtraware.de
Tue, 18 Feb 2003 19:48:45 +0100


I have my Zope-Process running with uid zope and uid zope in the group=20
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:

-rw-r--r--    1 lzope    lzope       24433 Feb 18 20:38 Client.pyc

also when I do a

chown zope:users MyProduct
and refresh the .pyc files are generated with permissions:

-rw-r--r--    1 lzope    lzope       24433 Feb 18 20:38 Client.pyc

the same is true if I do:

chmod a+w MyProduct

which I apparently don't want to do

-
Mit freundlichen Gr=FC=DFen                              Joachim Schmitz
--------------------------------------------------------------------
AixtraWare Ingenieurb=FCro f=FCr Internetanwendungen
Telefon: +49-2464-8851, FAX: +49-2464-905163
--------------------------------------------------------------------