Permissions problem on upload

I’ve got a permissions problem that is only happening on my production
server. It coincides with making an upload with attachment_fu. It
like it is preventing attachment_fu from making a tmp folder which
attachment_fu wants to send the file to. Anyone ever run into something
like this. I’m running this app on an Ubuntu server with Apache in
front of

Here is part of the exception notification:

A Errno::EACCES occurred in prints#create:

Permission denied - /var/www/apps/ballantynearts
/usr/lib/ruby/1.8/fileutils.rb:243:in `mkdir’


  • URL:
  • Parameters: {“commit”=>“Create”, “action”=>“create”,
    “print”=>{“uploaded_data”=>#<File:/tmp/CGI26751.7>, “title”=>“Mea
    “technique”=>“”, “description”=>“”}, “controller”=>“prints”}
  • Rails root: /var/www/apps/ballantynearts/current

I’d venture to say that the user that mongrel is running as doesn’t
have the necessary permissions to run this command.


Sent from my iPhone

On Oct 6, 2007, at 11:56 AM, “Scott Ballantyne”