[Zope] OSError 13 at file upload; Zope2.6
Chris McDonough
chrism@zope.com
12 Nov 2002 00:27:24 -0500
It appears that the user under which you're running Zope does not have
permission to write files to the /tmp directory on your system. You may
want to check this by logging in as that user and trying to write a file
to the /tmp directory. Note that if you're running Zope as root, the
user under which Zope runs is actually the "effective user" (specified
via the -U switch to the start script).
On Tue, 2002-11-12 at 00:16, Danny Morgan wrote:
> Hello,
>
> After upgrading to Zope 2.6, I've begun to encounter problems uploading
> files of sizes greater than 1K. It doesn't matter whether it should be
> an image, file, photo, page template, or whatever.
>
>
> === The following error output is typical ========
>
> Site Error
> An error was encountered while publishing this resource.
> *OSError*
> Sorry, a site error occurred.
> Traceback (innermost last):
>
> * Module ZPublisher.Publish, line 150, in publish_module
> * Module ZPublisher.Publish, line 114, in publish
> * Module Zope, line 171, in zpublisher_exception_hook
> * Module ZPublisher.Publish, line 63, in publish
> * Module ZPublisher.HTTPRequest, line 365, in processInputs
> * Module cgi, line 520, in __init__
> * Module cgi, line 613, in read_multi
> * Module cgi, line 522, in __init__
> * Module cgi, line 623, in read_single
> * Module cgi, line 645, in read_lines
> * Module cgi, line 692, in read_lines_to_outerboundary
> * Module cgi, line 652, in __write
> * Module cgi, line 738, in make_file
> * Module tempfile, line 152, in TemporaryFile
>
> OSError: [Errno 13] Permission denied: '/tmp/@1555.14' (Also, an error
> occurred while attempting to render the standard error message.)
>
> =========== end of error output =================
>
> Any clues?
>
> I have very little development time invested in 2.6, should I backtrack
> to 2.51?
>
> Thanks,
>
> Danny
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )