Hi, I am on a unix-like operating system, Zope 2.8, CMF, CPS (SVN Trunk). I would like users to be abble to write some file on the filesystem. I know there is LocalFS but I did not find a way to easy learn it. Do you have? -- Administration & Formation à l'administration de serveurs dédiés: http://www.google.fr/search?q=aspo+infogerance+serveur
These may help: http://www.zope.org/Members/jfarr/HowTo/DTML_with_LocalFS http://www.zope.org/Members/asterisk/ZFSPath/ hth Jonathan ----- Original Message ----- From: "Rakotomandimby Mihamina" <mihamina.rakotomandimby@etu.univ-orleans.fr> To: <zope@zope.org> Sent: Tuesday, October 18, 2005 2:00 PM Subject: [Zope] write file to FS (LocalFS?)
Hi, I am on a unix-like operating system, Zope 2.8, CMF, CPS (SVN Trunk). I would like users to be abble to write some file on the filesystem. I know there is LocalFS but I did not find a way to easy learn it. Do you have?
-- Administration & Formation à l'administration de serveurs dédiés: http://www.google.fr/search?q=aspo+infogerance+serveur
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
That one is OK for my use. Thank you! -- Administration & Formation à l'administration de serveurs dédiés: http://www.google.fr/search?q=aspo+infogerance+serveur
Rakotomandimby Mihamina wrote:
I am on a unix-like operating system, Zope 2.8, CMF, CPS (SVN Trunk). I would like users to be abble to write some file on the filesystem.
Why? Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
On Wed, 2005-10-19 at 13:44 +0100, Chris Withers wrote:
Rakotomandimby Mihamina wrote:
I am on a unix-like operating system, Zope 2.8, CMF, CPS (SVN Trunk). I would like users to be abble to write some file on the filesystem. Why?
I manage a group of users on a Unix system. They also have an FTP space, and a mailbox (on the system) They are members of the CPS hosted on the Zope. They want to change their FTP/POP/IMAP password. I need to process their request into a batch file. Obviuosly, ther is the LDAP common authentication for the groupware and the system, but the LDAP connection is a work still in progress... they want to change their passwords NOW. The quickest way I found is to code an interface (a form) in wich they ask for the password change. -- Administration & Formation à l'administration de serveurs dédiés: http://www.google.fr/search?q=aspo+infogerance+serveur
Rakotomandimby Mihamina wrote:
On Wed, 2005-10-19 at 13:44 +0100, Chris Withers wrote:
Rakotomandimby Mihamina wrote:
I am on a unix-like operating system, Zope 2.8, CMF, CPS (SVN Trunk). I would like users to be abble to write some file on the filesystem.
Why?
I manage a group of users on a Unix system. They also have an FTP space, and a mailbox (on the system) They are members of the CPS hosted on the Zope. They want to change their FTP/POP/IMAP password.
I would then have this modification done in a tightly controlled external method (from a security point of view) and make sure you use some big Locks (see python threading module's documentation) so multiple simultaneous requests don't cause carnage...
I need to process their request into a batch file.
Why a batch file?
Obviuosly, ther is the LDAP common authentication for the groupware and the system, but the LDAP connection is a work still in progress... they want to change their passwords NOW. The quickest way I found is to code an interface (a form) in wich they ask for the password change.
I would suggest just getting LDAP working ;-) cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
Chris Withers wrote at 2005-10-20 12:03 +0100:
... I would then have this modification done in a tightly controlled external method (from a security point of view) and make sure you use some big Locks (see python threading module's documentation) so multiple simultaneous requests don't cause carnage...
Be careful with External Methods and locks: An External Method does not share the module namespace with the same External Methods in other workers. Thus, you should not use locks defined in the source file of the External Method (but outside in a true Python module). -- Dieter
Dieter Maurer wrote:
Be careful with External Methods and locks:
An External Method does not share the module namespace with the same External Methods in other workers.
Thus, you should not use locks defined in the source file of the External Method (but outside in a true Python module).
Good point! Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
participants (4)
-
Chris Withers -
Dieter Maurer -
Jonathan -
Rakotomandimby Mihamina