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

Joachim Schmitz js@aixtraware.de
Wed, 19 Feb 2003 22:49:32 +0100


--On Mittwoch, Februar 19, 2003 20:49:30 +0100 Dieter Maurer=20
<dieter@handshake.de> wrote:

> 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")

It looks like, but this is not the case, when I set the permission "a+w"=20
the pyc files are created with "zope zope" and zope is in the group users.

This is by the way under debian Linux.


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