Re: [Zope] Read-only zope (not zope from a readonly Data.fs)

2000-12-11 Thread Chris Withers

Pericles Akritides wrote:
> 
> Hi,
> 
> Is there a way to make zope run read-only(with whatever loss of functionality doing 
>that implies)?
> I don't mean to prevent it from trying to write to disk (demo storage, -r),
> I mean to make it impossible to change persistent objects in the running Zope 
>instance,
> something like disabling their __setattr__ (since it is hooked by Persistent, right?)

run python z2.py -h

I'm sure there's a command l;ine option described there to do just that
:-)

Chris

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Read-only zope (not zope from a readonly Data.fs)

2000-12-10 Thread Pericles Akritides

Hi,

Is there a way to make zope run read-only(with whatever loss of functionality doing 
that implies)?
I don't mean to prevent it from trying to write to disk (demo storage, -r),
I mean to make it impossible to change persistent objects in the running Zope instance,
something like disabling their __setattr__ (since it is hooked by Persistent, right?)

Is something like this possible (by modifying ZODB source maybe?)

TIA

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )