I would like an answer to this problem as well. I am experiencing the
same thing on Windows XP SP3 running Ruby 1.8.7 with rails 2.2.2 and
the latest version of the Paperclip plugin. When I try to save a model
with a photo attached, I get an ActionController exception:
Errno::EACCES in ArrangementsController#create
Permission denied - C:/Temp/stream20081205-208-orsoji-0 or C:/Web/www/
flowershop/public/photos/1/original/P672_330x370.jpg
I have checked the permissions on both of these locations and made
sure that everyone has full access, but that doesn't seem to have any
effect. I know that linux-type OSes and Windows systems handle
permissions in different ways, but shouldn't Ruby handle that? I have
searched around the web and found some suggestions, even a patch
written by someone that was supposed to address the 0-byte file and
permissions problems, but nothing seems to help. If it makes any
difference, I am NOT running in cygwin. Anyone have any ideas? I'm
about out.