I have a java client that uploads files to a web server. The problem is
that whenever the client uploads a file, and mongrel saves it in a
temporary file (in this case, mongrel13800-0), mongrel can't read the
file resulting in the error below.
Read error: #<Errno::EACCES: Permission denied -
pastie link here: http://pastie.org/486246
i've resolved the problem by setting Mongrel::Const::MAX_BODY to 5MB,
but i don't really like that solution. And I have no control over the
size of the uploads.
i've tried chmod and chown but it doesn't solve the problem. any ideas?