Forum: Ruby on Rails Permission denied deleting Ruby_sess on Windows

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
robert.evans (Guest)
on 2005-11-12 13:49
(Received via mailing list)
Hi,

Has anyone else seen this error? How did you fix it? We are seeing it
on several developers windows boxes. Any help is greatly appreciated.

Thanks,
Bob E.

Errno::EACCES (Permission denied - C:/DOCUME~1/Dan/LOCALS~1/Temp/
ruby_sess.f566a5fb6ef4ae5e.new):
    c:/ruby/lib/ruby/1.8/pstore.rb:179:in `unlink'
    c:/ruby/lib/ruby/1.8/pstore.rb:179:in `commit_new'
    c:/ruby/lib/ruby/1.8/pstore.rb:145:in `transaction'
    c:/ruby/lib/ruby/1.8/cgi/session/pstore.rb:90:in `update'
    c:/ruby/lib/ruby/1.8/cgi/session/pstore.rb:97:in `close'
    c:/ruby/lib/ruby/1.8/cgi/session.rb:330:in `close'
    c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/
action_controller/base.rb:895:in `close_session'
    c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/
action_controller/base.rb:366:in `process_without_session_manag
ement_support'
    c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/
action_controller/session_management.rb:116:in `process'
    c:/ruby/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/dispatcher.rb:
36:in `dispatch'
    c:/ruby/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/webrick_server.rb:
117:in `handle_dispatch'
    c:/ruby/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/webrick_server.rb:
83:in `service'
    c:/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
    c:/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
    c:/ruby/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
    c:/ruby/lib/ruby/1.8/webrick/server.rb:144:in `start'
    c:/ruby/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
    c:/ruby/lib/ruby/1.8/webrick/server.rb:94:in `start'
    c:/ruby/lib/ruby/1.8/webrick/server.rb:89:in `each'
    c:/ruby/lib/ruby/1.8/webrick/server.rb:89:in `start'
    c:/ruby/lib/ruby/1.8/webrick/server.rb:79:in `start'
    c:/ruby/lib/ruby/1.8/webrick/server.rb:79:in `start'
    c:/ruby/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/webrick_server.rb:
69:in `dispatch'
    script/server:52
This topic is locked and can not be replied to.