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:
cd RAILS_ROOTLast updated on 2007-08-25 13:18:53 -0800, by Shalom Craimer
chmod 777 tmp
chmod ug+s tmp
Back to Tech Journal