[Zope-dev] zope /tmp file usage

Florent Guillaume fg at nuxeo.com
Thu Mar 31 08:58:55 EST 2005


Pavel Zaitsev  <pavel at md5.ca> wrote:
> I am wondering what code in Zope 2.7.5-final potentially may use /tmp 
> directory for temprorary files.

Lots. There are many uses of the tempfile python module, which uses the
TMPDIR, TEMP or TMP environment variables to decide where to stick its
temporary file. /tmp, /var/tmp then /usr/tmp are used as fallbacks.
You can just define TMPDIR in you startup script and that'll do.

Florent

> I am using zope over webdav and sometimes webdav tries to create a tmp 
> file, of some sort and some parts of
> the system lock up.  There are xml parsers,mime decoders all of which do 
> have binary code bits, so I asking for expert
> advice, if someone knows of what circuimstances zope would use /tmp 
> directory to create a file...
> your help will be greatly appreciated.
> Pavel

-- 
Florent Guillaume, Nuxeo (Paris, France)   CTO, Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   fg at nuxeo.com


More information about the Zope-Dev mailing list