[Zope-dev] Thanks: Unix: Vanishing Group Ids associated with Zope process

2002-10-11 Thread Holger Blasum
Thanks Jerome, Johan, > it is called for you by PAM when you log in, AFAIK, this is > why it works from your command line That was the missing bit. After following some blind alleys (pam-python seems to be only available for py 1.5 and os.setgroups() is only available in py 2.2) the solution w

Re: [Zope-dev] Re: [Zope] Unix: Vanishing Group Ids associated with Zope process ?

2002-10-11 Thread Jerome Alet
On Fri, Oct 11, 2002 at 06:05:59PM +0200, Johan Carlsson [EasyPublisher] wrote: > > The way that Zope changes user under the start up sequence > doesn't change the groups. man 2 setgroups should be called after (before?) the user id change in the Zope startup script. it is called for you by P

[Zope-dev] Re: [Zope] Unix: Vanishing Group Ids associated with Zopeprocess ?

2002-10-11 Thread Johan Carlsson [EasyPublisher]
At 17:48 2002-10-11 +0200, Holger Blasum said: >Hello *, > >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 t

Re: [Zope-dev] Debugging conflict errors? Hints please!

2002-10-11 Thread Jeremy Hylton
> "SHH" == Stefan H Holek <[EMAIL PROTECTED]> writes: SHH> Hi All! I am experiencing a lot of 'ZODB conflict error at SHH> ...' that I can reliably reproduce by hitting my browser's SHH> Refresh button at a high rate. The bad news is that the SHH> conflicts happen on pages that are n

Re: [Zope-dev] Can't edit CMF/Plone content if the creator is deleted

2002-10-11 Thread R. David Murray
On Fri, 11 Oct 2002, Adrian Hungate wrote: > I don't know if this is a Zope, CMF, Plone or DCWorkflow issue, but I just > got bitten by what appears to be a bug in someone's security handling. > > If you create some content as user A, then delete user A, no one can edit > the content, or change it

Re: [Zope-dev] Debugging conflict errors? Hints please!

2002-10-11 Thread Stefan H. Holek
Yes, but AFAIK read conflicts mean that something has changed during a read. I do not expect this to happen either... Stefan --On Freitag, 11. Oktober 2002 07:54 -0400 Jens Vagelpohl <[EMAIL PROTECTED]> wrote: conflict errors do not imply conflicting writes by definition. there is a thing cal

[Zope-dev] DateTime.rfc822() bug?

2002-10-11 Thread Lennart Regebro
RFC 2822 (which is the currently valid one, if I understand correctly) specifies the date format to have four digit zone specifications, ie "GMT+0200", while DateTime.rfc822() happily returns "GMT+2". Not that this seems to be any problem, I'm just looking for an answer if this is how it's supposed

Re: [Zope-dev] MailHost.py does not set the "Date" header, who's bug?

2002-10-11 Thread Lennart Regebro
From: "Lennart Regebro" <[EMAIL PROTECTED]> > Indeed, reading in RFC 2822, the origination date-field is required, which > means that the header munging done in MailHost should also look for a date > header and add it if it doesn't exist. A simple addition of: if not mo.getheader('Date'):

Re: [Zope-dev] Debugging conflict errors? Hints please!

2002-10-11 Thread Jens Vagelpohl
conflict errors do not imply conflicting writes by definition. there is a thing called "read conflict", which is probably what happens to you. jens On Friday, Oct 11, 2002, at 07:47 US/Eastern, Stefan H. Holek wrote: Hi All! I am experiencing a lot of 'ZODB conflict error at ...' that I can

[Zope-dev] Debugging conflict errors? Hints please!

2002-10-11 Thread Stefan H. Holek
Hi All! I am experiencing a lot of 'ZODB conflict error at ...' that I can reliably reproduce by hitting my browser's Refresh button at a high rate. The bad news is that the conflicts happen on pages that are not supposed to change anything in the ZODB but only display results of some SQL queri

[Zope-dev] Can't edit CMF/Plone content if the creator is deleted

2002-10-11 Thread Adrian Hungate
I don't know if this is a Zope, CMF, Plone or DCWorkflow issue, but I just got bitten by what appears to be a bug in someone's security handling. If you create some content as user A, then delete user A, no one can edit the content, or change it's ownership. I created a site as "manager" and crea

Re: [Zope-dev] Zope-2.5.1 restart failed

2002-10-11 Thread Chris Withers
Andre Schubert wrote: 2002-10-11T06:01:00 ERROR(200) ZODB Couldn't load state for '\x00\x00\x00\x00\x00\x00\x00T' Traceback (innermost last): File /usr/share/zope/lib/python/ZODB/Connection.py, line 447, in setstate File /usr/share/zope/lib/python/ZODB/FileStorage.py, line 582, in load (Ob

Re: [Zope-dev] MailHost.py does not set the "Date" header, who's bug?

2002-10-11 Thread Lennart Regebro
From: "Craeg K Strong" <[EMAIL PROTECTED]> > Here is my question. Should ZWiki, my web app, and everybody else's > Zope-based web app in the world have to add "Date" headers? > Or maybe MailHost should be smart enough to add a Date header with > Date=now if Date is missing from the header...? Ind