deploying a Rails app for the first time on a mediatemple (dv) server using capistrano and fcgi everything looks OK but when I go to access the app, I get 500 errors with things like /usr/lib/ruby/1.8/fileutils.rb:1246:in `initialize'': Permission denied - /var/www/vhosts/xxxxxxx.com/app/current/public/../config/../public/stylesheets/dhtml_calendar/demo.css (Errno::EACCES) these are for stylesheets (?!) - I looked at fileutils.rb and at that line it is trying to open the file for writing, as part of copy_file(). If I make the file world-writable it just hangs up on the next one in line. Why is it trying to copy the files anyway? Surely the whole app doesn''t have to be writable by Apache, right? I was following the otherwise excellent guide here http://www.berbs.us/archives/2007/02/05/setting_up_ruby_on_rails_and_using_capistrano_deploy_media_temple_dedicated_virtual_server_3/ but it makes no mention of permissions issues. Anyone have any idea what I screwed up? thanks Sam --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---