[Zope] (unix) permission problems with zope

Stefan Langerman lfalse@cs.rutgers.edu
Mon, 28 Feb 2000 14:50:52 -0500 (EST)


Hi,

I am trying to set up zope on a RedHat box, so that 
anyone in the 'zopemaster' unix group can install 
files (like zexp, external methods, products).
Zope is run by the 'www' user, which is in the
'zopemaster' group. The UID has been set as 'www'
in the z2.py file.

Now, when I install a file as another user in the 
import directory, I set the group of the file to
zopemaster, and set the permissions to g+r, zope
cannot read them, and complains about a permissions
problem. When the file is o+r, it works.

For testing purposes, I exported a file from zope,
and the group of the file was 'users'. I tried to
modify the z2.py file by adding the line
  os.setgid(115)
to the z2.py file (where 115 is the gid of 
'zopemaster'), but it didn't help.

Any ideas?

Thanks,

Stefan.