[Zope-CMF] OSError on image upload

Jens Vagelpohl jens@zope.com
Thu, 14 Feb 2002 23:50:27 -0500


the user that the zope process runs as is not able to write to /var/tmp. 
you need to correct the permissions on that directory or run zope as a 
different user that can write to /var/tmp.

jens


On Thursday, February 14, 2002, at 11:43 , Chad Nantais wrote:

> I am trying to upload an image through the CMF, not the management 
> interface
> and I get an OSError on upload:
>
> <!--
> Traceback (innermost last):
>   File /usr/local/zope/2.4.4b1/lib/python/ZPublisher/Publish.py, line 223,
> in publish_module
>   File /usr/local/zope/2.4.4b1/lib/python/ZPublisher/Publish.py, line 187,
> in publish
>   File /usr/local/zope/2.4.4b1/lib/python/Zope/__init__.py, line 226, in
> zpublisher_exception_hook
>     (Object: Zope)
>   File /usr/local/zope/2.4.4b1/lib/python/ZPublisher/Publish.py, line 136,
> in publish
>   File /usr/local/zope/2.4.4b1/lib/python/ZPublisher/HTTPRequest.py, line
> 409, in processInputs
>   File /usr/local/lib/python2.1/cgi.py, line 520, in __init__
>   File /usr/local/lib/python2.1/cgi.py, line 613, in read_multi
>   File /usr/local/lib/python2.1/cgi.py, line 522, in __init__
>   File /usr/local/lib/python2.1/cgi.py, line 623, in read_single
>   File /usr/local/lib/python2.1/cgi.py, line 645, in read_lines
>   File /usr/local/lib/python2.1/cgi.py, line 692, in
> read_lines_to_outerboundary
>   File /usr/local/lib/python2.1/cgi.py, line 652, in __write
>   File /usr/local/lib/python2.1/cgi.py, line 738, in make_file
>   File /usr/local/zope/2.4.4b1/lib/python/tempfile.py, line 151, in
> TemporaryFile
> OSError: [Errno 13] Permission denied: '/var/tmp/@14694.7'
>
> -->
>
>
>
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://www.zope.org/Products/PTK/Tracker for bug reports and feature 
> requests