Tech Journal Back to Tech Journal

Ruby on Rails session data permissions

Rails 1.1 by default stores its session data in RAILS_ROOT/tmp/sessions/ and not /tmp/sessions, so you’ll need to adjust its permissions in order to avoid ‘Permission denied’ errors with your app:

chmod 777 tmp
chmod ug+s tmp
Last updated on 2007-08-25 13:18:53 -0700, by Shalom Craimer

Back to Tech Journal