This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
NetBeans IDE Dev (Build 070518) 1.5.0_11; Java HotSpot(TM) Client VM 1.5.0_11-b03 SunOS version 5.10 running on x86 cs_CZ (nb); UTF-8 I get this IOException every time I start IDE (even with clean userdir). It is unzipped bigide. java.io.IOException: could not run [/bin/chmod, u+rx, _jrubycleanup.bat, _jrubysetcp.bat, _jrubyvars.bat, gem, gem.bat, gem_mirror, gem_mirror.bat, gem_server, gem_server.bat, gemlock, gemri, gemwhich, gemwhich.bat, generate_yaml_index.rb, index_gem_repository.rb, jirb, jirb.bat, jruby, jruby.bat, jruby.rb, jrubyc, jrubycli, jrubyd.bat, jrubysrv, jrubyw.bat, testrb, update_rubygems, rake, rdoc, rails] at org.netbeans.api.ruby.platform.RubyInstallation.ensureExecutable(RubyInstallation.java:750) at org.netbeans.modules.ruby.rubyproject.RubyProjectModuleInstaller.restored(RubyProjectModuleInstaller.java:40)
Created attachment 42585 [details] full stacktrace
Petre, can you investigate where is located chmod on your SOL 10 machine? It may help Tor, thanks.. can you run /bin/chmod manually?
I've modified the error message such that the process exit code from chmod is included in the message. Perhaps the exit code will tell us why chmod is unhappy.
This will happen in particular in the case where the netbeans installation is owned by root, but you are running netbeans as a non-root user. This wouldn't be Solaris specific. Maybe RubyInstallation.ensureExecutable should check if you do have permission to modify the files.
*** Issue 107651 has been marked as a duplicate of this issue. ***
Closing as a duplicate of 108252, which is now partially fixed. *** This issue has been marked as a duplicate of 108252 ***
Reassigning this issue to newly created 'ruby' component.
Changing target milestone of all resolved Ruby issues from TBD to 6.0 Beta 1 build.