[Zope] Access denied on temporary files ????

Doyon, Jean-Francois Jean-Francois.Doyon@CCRS.NRCan.gc.ca
Mon, 10 Sep 2001 12:04:50 -0400


Hello,

I'm trying to add a DTML document, and am getting the following:

<!--
Traceback (innermost last):
  File =
/usr/local/Zope-2.4.1-linux2-x86/lib/python/ZPublisher/Publish.py,
line 223, in publish_module
  File =
/usr/local/Zope-2.4.1-linux2-x86/lib/python/ZPublisher/Publish.py,
line 187, in publish
  File /usr/local/Zope-2.4.1-linux2-x86/lib/python/Zope/__init__.py, =
line
226, in zpublisher_exception_hook
    (Object: ApplicationDefaultPermissions)
  File =
/usr/local/Zope-2.4.1-linux2-x86/lib/python/ZPublisher/Publish.py,
line 136, in publish
  File
/usr/local/Zope-2.4.1-linux2-x86/lib/python/ZPublisher/HTTPRequest.py, =
line
409, in processInputs
  File /usr/local/Zope-2.4.1-linux2-x86/lib/python2.1/cgi.py, line 517, =
in
__init__
  File =
/usr/local/Zope-2.4.1-linux2-x86/lib/python/ZPublisher/cgi_hotfix.py,
line 15, in read_multi
  File /usr/local/Zope-2.4.1-linux2-x86/lib/python2.1/cgi.py, line 519, =
in
__init__
  File /usr/local/Zope-2.4.1-linux2-x86/lib/python2.1/cgi.py, line 616, =
in
read_single
  File /usr/local/Zope-2.4.1-linux2-x86/lib/python2.1/cgi.py, line 636, =
in
read_lines
  File /usr/local/Zope-2.4.1-linux2-x86/lib/python2.1/cgi.py, line 723, =
in
make_file
  File /usr/local/Zope-2.4.1-linux2-x86/lib/python/tempfile.py, line =
151, in
TemporaryFile
OSError: [Errno 13] Permission denied: '@12087.4'

I'm not sure what temporary directory it is trying to use (I set the =
default
in the tempfile.py file to /tmp instead of None, but the module has =
it's own
logic for figuring out temp file paths).

I'm realy not sure why this occurs, I was having this problem one =
before,
and managed to "fix it", although I never figured out HOW! :)

One thing is I do have an Python External Method that uses the tempfile
module, and changes the directory used ... But then again, it should =
still
be writable by nobody or root ...

How do I find out where it is ACTUALLY trying to put this tempfile ??

Thank you ...


Jean-Fran=E7ois Doyon
Internet Service Development and Systems Support
GeoAccess Division
Canadian Center for Remote Sensing
Natural Resources Canada
http://atlas.gc.ca
Phone: (613) 992-4902
Fax: (613) 947-2410