File_column permissions

this is getting frustrating…

i installed file_column without a hitch for the first time to just play
around with. using the exact same steps as before, i try to use it with
one of my actual applications, and i get “permission denied” errors. i
figure there might be some conflict with my application so just for
kicks i do the exact same thing i did the first time to test file_column
and i still get “permission denied”. it’s not creating directories, and
if i create the directory myself, the app will open without error, but
the image is not uploaded when i test out the form, and null values are
put in the database.

Errno::EACCES in AdminController#index

Permission denied - /home/station/public/entry

/usr/local/lib/ruby/1.8/fileutils.rb:243:in mkdir' /usr/local/lib/ruby/1.8/fileutils.rb:243:infu_mkdir’
/usr/local/lib/ruby/1.8/fileutils.rb:217:in mkpath' /usr/local/lib/ruby/1.8/fileutils.rb:215:inmkpath’
/usr/local/lib/ruby/1.8/fileutils.rb:201:in mkpath' #{RAILS_ROOT}/vendor/plugins/file_column/lib/file_column.rb:30:ininit_options’
init_options' #{RAILS_ROOT}/vendor/plugins/file_column/lib/file_column.rb:618:infile_column’
#{RAILS_ROOT}/app/controllers/admin_controller.rb:12:in list' #{RAILS_ROOT}/app/controllers/admin_controller.rb:3:inindex’

if im interpreting things correctly

the files are written with the rights of the httpd user

under webrick you wouldn’t notice a problem

so if you make a rails app as ‘user’ but then have an httpd process
write to
that directory it must have access to that ‘user’ directory

either set up some group perms or make that directory writeable by all