On May 22, 10:32 am, Jim ruther Nill <rails-mailing-l...@andreas-
s.net> wrote:
> 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.

Does the java code run as a different user than your mongrel ?

Fred
>
> Read error: #<Errno::EACCES: Permission denied -
> /home/Jim/work/tmp/mongrel3800-0>
>
> 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?
> thanks!
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to