[Zope] Temporary partition problem

Toby Dickenson tdickenson at geminidataloggers.com
Fri Nov 14 05:24:16 EST 2003


On Friday 14 November 2003 10:17, Heimo Laukkanen wrote:

> I've set in start script TMPDIR to be on /spool in start script with
> TMPDIR ='/spool/something' EXPORT TMPDIR, but Zope does not follow that.

For most things (if not all) Zope uses Pythons tempfile module. There are 
several ways you can tell it where to put temporary files. It will use 
TMPDIR, but some other environment variables have higher priority.

Read tempfile.py for the full story, or try:

>>> import tempfile
>>> tempfile.gettempdir()
'/tmp'


-- 
Toby Dickenson




More information about the Zope mailing list