14 Nov
2003
14 Nov
'03
10:24 a.m.
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