[Zope] zope.conf read-only settings

S.Hayles sh23 at leicester.ac.uk
Fri Oct 14 07:43:13 EDT 2005


On Fri, 14 Oct 2005, Chris Withers wrote:

> Steven Hayles wrote:
>> 
>> AFAICS the directives zserver-read-only-mode and read-only-database just 
>> set the environment value ZOPE_READ_ONLY and no change in ZOPE's operation 
>> results. Am I right? This is ZOPE 2.7.7
>
> Not really sure what you're asking?
> Did you try these and find they made no difference?

Yes, and I've looked at the code and can't see any way they can make a 
difference.

Wondered whether anyone else knew anything about these directives (old or 
future functionality?) and whether I was right in thinking they didn't do 
anything. If they really don't and are never intended to do anything, then 
they should at least have comments to that effect, and ideally be removed.

>> Setting read-only in the database storage does make a difference (in my 
>> configuration, Formulator 1.6.2 throws an exception, but that's not a ZOPE 
>> issue).
>
> Okay, maybe that's 'cos Formulator is trying to write to the zodb?

I think so.

> Seriously, not sure what you're asking/explaining...

Just a related observation.


Steven



More information about the Zope mailing list