Hi,

I'm using Fleximage on my website so users can upload avatars. I
recently upgraded to Rails 3.0 and switched host to slicehost.com. I
successfully installed imagemagick and the gems rmagick and fleximage.
Everything seems to be working fine except when I try to edit my account
and upload an avatar. After selecting an avatar and click the update
account button I get the following error:

Errno::EACCES (Permission denied -
/root/public_html/biomixr/tmp/fleximage):
  app/controllers/accounts_controller.rb:103:in `update'

Now I've been stumped on this. I looked at my permissions for
/root/public_html/biomixr/tmp and they are 755.

I in turn ran the command: mkdir /root/public_html/biomixr/tmp/fleximage
to create the fleximage folder.

I then tried to upload an avatar again and this is the error I get next:

Errno::EACCES (Permission denied -
/root/public_html/biomixr/tmp/fleximage/1314277489_47901):
  app/controllers/accounts_controller.rb:103:in `update'

So I am really confused on what is going on.

I would appreciate any help.

Thank you.

-- 
Posted via http://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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to