At 17:48 2002-10-11 +0200, Holger Blasum said:
>I observed that under Debian woody, Zope 2.5.1 runs under the
>user id 'www-data'.
>The python OS command os.getgroups() gives me an empty list when called
>from an external method, although I had configured the user 'www-data'
>to be the member of several groups.
>If, on the other hand, I run python with my user id from the command
>line as a normal user, the command os.getgroups () gives me all the
>groups am a member of (that's what I expected).
The way that Zope changes user under the start up sequence
doesn't change the groups.
I'm not sure if this was due to a bug in earlier Python, but there
might be a fix/more info about this in the mail archives or on zope.org
or even in the collector (haven't check).
Got the same problems a while back trying to execute Qmail
commands with external methods some while ago.
Torped Strategi och Kommunikation AB
SE-113 36 Stockholm
Västmannagatan 67, Stockholm, Sweden
Phone +46-(0)8-32 31 23
Fax +46-(0)8-32 31 83
Mobil +46-(0)70-558 25 24
Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -