[Ironruby-core] "igem install rake" raise an System.UnauthorizedAccessException (Windows 7)

Shri Borde Shri.Borde at microsoft.com
Mon Jan 25 16:55:16 EST 2010


Btw, c:\ironruby will still need admin priviledges to install to, right?

Does the one-click installer make the gem folder writable to all users (or atleast all Admin users)? What about on *nix? Without making the gem folder writable, “igem install” will still fail. Making the folder writable to all users is a security hole, and ideally RubyGems will support a way to install to a per-user location, or elevate permission otherwise. I believe you need to use “sudo gem install” on *nix.

From: Shri Borde
Sent: Monday, January 25, 2010 1:42 PM
To: ironruby-core at rubyforge.org
Subject: RE: [Ironruby-core] "igem install rake" raise an System.UnauthorizedAccessException (Windows 7)

Added a comment to the workitem…

From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Ivan Porto Carrero
Sent: Monday, January 25, 2010 12:43 PM
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] "igem install rake" raise an System.UnauthorizedAccessException (Windows 7)

Program files is a protected location and contains a space in the path. I couldn't find a workitem. But all the problems would be solved by mimicking jruby and ruby's way and just putting it in C:\ironruby.

This workitem is related though
http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=2969

---
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)

On Mon, Jan 25, 2010 at 8:30 PM, Shri Borde <Shri.Borde at microsoft.com<mailto:Shri.Borde at microsoft.com>> wrote:
Ivan, do you remember what the known issue is? I can’t remember seeing a discussion about UnauthorizedAccessException. Just making sure that the bug is really being tracked

From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [mailto:ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] On Behalf Of Thibaut Barrère
Sent: Monday, January 25, 2010 7:21 AM
To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org>
Subject: Re: [Ironruby-core] "igem install rake" raise an System.UnauthorizedAccessException (Windows 7)

it's a known issue that should be fixed in the next release, AFAIK


Thanks Ivan,

-- Thibaut


_______________________________________________
Ironruby-core mailing list
Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org>
http://rubyforge.org/mailman/listinfo/ironruby-core

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100125/0a94bdcc/attachment-0001.html>


More information about the Ironruby-core mailing list