Since moving to a new server (and upgrading to Rails 3.0.1), I am experiencing a permission error on my server.
ActionView::Template::Error (Permission denied - /var/www/myapp/releases/20101106093931/public/stylesheets/.permissions_check.81834140.9998.761303):
application/ var / www is set to CHMOD 755 (recursively).
erro occurs when I try to set :cache => truestylesheet links in a tag:
<%= stylesheet_link_tag %w{ reset application }, :cache => true %>
I assume that this is because Rails is trying to write the all.css file on the server and does not have sufficient permissions, but at the moment everything should be running as root?
Can anyone suggest any suggestion on how to solve this?
The server runs NGinX with Passenger 3.0.0 and Rails 3.0.1
source
share