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.
Will be triggered when RubyGems repository is read-only.
Support for 'gksu' added: a16d1198055c Leaving this open until also at least 'kdesu' is supported.
'kdesu' is supported: 1553ac86f191 Leaving open, since I do not know the situation on Mac (I don't have it). Have to peak around.
Integrated into 'main-golden', available in NB_Trunk_Production #285 build Changeset: http://hg.netbeans.org/main/rev/1553ac86f191 User: Martin Krauskopf <mkrauskopf@netbeans.org> Log: - separating sudo-functionality into separate class - support for 'kdesu' (another part of issue #128575) - trailing spaces (were removed on NetBeans editor save)
Hint, I've got from Tomas Hurka wrt. to Mac OS: osascript -e 'do shell script "whoami" with administrator privileges' If you need to write some files, try 'authopen'. See man authopen Just note for myself, when I get back to this. Likely it will popup dialog similar to what gksu or kdesu emits. Will try when I have access to Mac.
Can we provide a way to force sudo execution a 'Use sudo' check box? I have the write permissions into the gems folders but anyway I got: ... /Library/Ruby/Gems/1.8/gems/RedCloth-4.1.1/ext/redcloth_scan/redcloth_scan.c ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions into the /usr/bin directory. Using the Mac OS.
You've probably changed the permission of your GEM_HOME and GEM_PATH directories, but installation of a gem might also want to write into the /usr/bin directory to install executable like 'rake', 'rails', etc. 'Use Sudo' checkbox sound fine. Could you file a separate issue for it. I guess we will bring it when (and if) the terminal emulator is available. Thanks.
*** Issue 170740 has been marked as a duplicate of this issue. ***