#528 ✓resolved
Roger

permissions errors in windows don't result in a dialog

Reported by Roger | May 16th, 2011 @ 06:21 PM

They just yield a backtrace.

Error in command Redcar::Project::SaveFileCommand
Errno::EACCES: Permission denied - C:\Program Files (x86)\NetBeans 6.9.1\CREDITS.html
org/jruby/RubyFile.java:441:in initialize' org/jruby/RubyIO.java:1117:inopen'
c:/dev/ruby/redcar/plugins/project/lib/project/adapters/local.rb:52:in save' c:/dev/ruby/redcar/plugins/project/lib/project/file_mirror.rb:81:insave_contents'
c:/dev/ruby/redcar/plugins/project/lib/project/file_mirror.rb:63:in commit' c:/dev/ruby/redcar/plugins/edit_view/lib/edit_view/document.rb:81:insave!'
c:/dev/ruby/redcar/plugins/edit_view/lib/edit_view/document.rb:73:in between_save_hooks' c:/dev/ruby/redcar/plugins/edit_view/lib/edit_view/document.rb:80:insave!'
c:/dev/ruby/redcar/plugins/project/lib/project/commands.rb:159:in execute' c:/dev/ruby/redcar/plugins/application/lib/application/command/executor.rb:28:inexecute'
c:/dev/ruby/redcar/plugins/application/lib/application/command.rb:84:in run' c:/dev/ruby/redcar/plugins/application/lib/application/menu/item.rb:45:inselected'
c:/dev/ruby/redcar/plugins/application_swt/lib/application_swt/menu.rb:133:in widget_selected' c:/dev/ruby/redcar/plugins/swt/lib/swt/event_loop.rb:13:instart'
c:/dev/ruby/redcar/plugins/core/lib/core/gui.rb:37:in start' c:/dev/ruby/redcar/lib/redcar.rb:201:inpump'
c:/dev/ruby/redcar/bin/redcar:36:in `(root)'

fix:

https://github.com/rdp/redcar/commit/56a7563c455abf199a27ba0a5a7ab6...

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A programmer's text editor for Gnome.

People watching this ticket

Tags

Pages