#578 new
Paul Rogers

cant open a dir that needs sudo access

Reported by Paul Rogers | January 6th, 2012 @ 10:39 PM

If I try to open a directory that I would need to use sudo to write to, I see the below exception. No indication on the gui of a problem, and no ability to enter a sudo password.

Error in command Redcar::Project::DirectoryOpenCommand
Errno::EACCES: Permission denied - /Library/Frameworks/JRuby.framework/Gems/1.8/gems/ci_reporter-1.6.9/.redcar
file:/Users/paulrogers/.redcar/assets/jruby-complete-1.5.3.jar!/META-INF/jruby.home/lib/ruby/1.8/fileutils.rb:243:in fu_mkdir' file:/Users/paulrogers/.redcar/assets/jruby-complete-1.5.3.jar!/META-INF/jruby.home/lib/ruby/1.8/fileutils.rb:217:inmkdir_p'
file:/Users/paulrogers/.redcar/assets/jruby-complete-1.5.3.jar!/META-INF/jruby.home/lib/ruby/1.8/fileutils.rb:215:in reverse_each' file:/Users/paulrogers/.redcar/assets/jruby-complete-1.5.3.jar!/META-INF/jruby.home/lib/ruby/1.8/fileutils.rb:215:inmkdir_p'
file:/Users/paulrogers/.redcar/assets/jruby-complete-1.5.3.jar!/META-INF/jruby.home/lib/ruby/1.8/fileutils.rb:201:in each' file:/Users/paulrogers/.redcar/assets/jruby-complete-1.5.3.jar!/META-INF/jruby.home/lib/ruby/1.8/fileutils.rb:201:inmkdir_p'
/Library/Ruby/Gems/1.8/gems/redcar-0.11/plugins/project/lib/project.rb:246:in config_dir' /Library/Ruby/Gems/1.8/gems/redcar-0.11/plugins/project/lib/project.rb:97:inlock_filename' /Library/Ruby/Gems/1.8/gems/redcar-0.11/plugins/project/lib/project.rb:101:in locked?' /Library/Ruby/Gems/1.8/gems/redcar-0.11/plugins/project/lib/project/manager.rb:262:inopen_project_for_path' /Library/Ruby/Gems/1.8/gems/redcar-0.11/plugins/project/lib/project/commands.rb:221:in execute' /Library/Ruby/Gems/1.8/gems/redcar-0.11/plugins/application/lib/application/command/executor.rb:28:inexecute' /Library/Ruby/Gems/1.8/gems/redcar-0.11/plugins/application/lib/application/command.rb:84:in run' /Library/Ruby/Gems/1.8/gems/redcar-0.11/plugins/application/lib/application/menu/item.rb:45:inselected' /Library/Ruby/Gems/1.8/gems/redcar-0.11/plugins/application_swt/lib/application_swt/menu.rb:133:in widgetSelected' /Library/Ruby/Gems/1.8/gems/redcar-0.11/plugins/swt/lib/swt/event_loop.rb:13:instart' /Library/Ruby/Gems/1.8/gems/redcar-0.11/plugins/core/lib/core/gui.rb:37:in start' /Library/Ruby/Gems/1.8/gems/redcar-0.11/lib/redcar.rb:188:inpump' /Library/Ruby/Gems/1.8/gems/redcar-0.11/bin/redcar:35

No comments found

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

Pages