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:in
fu_mkdir’
/usr/local/lib/ruby/1.8/fileutils.rb:217:in mkpath' /usr/local/lib/ruby/1.8/fileutils.rb:215:in
mkpath’
/usr/local/lib/ruby/1.8/fileutils.rb:201:in mkpath' #{RAILS_ROOT}/vendor/plugins/file_column/lib/file_column.rb:30:in
init_options’
#{RAILS_ROOT}/vendor/plugins/file_column/lib/file_column.rb:28:in
init_options' #{RAILS_ROOT}/vendor/plugins/file_column/lib/file_column.rb:618:in
file_column’
#{RAILS_ROOT}/app/models/entry.rb:2
#{RAILS_ROOT}/app/controllers/admin_controller.rb:12:in list' #{RAILS_ROOT}/app/controllers/admin_controller.rb:3:in
index’