jruby --ng gives "Access denied" message
----------------------------------------
Key: JRUBY-3971
URL: http://jira.codehaus.org/browse/JRUBY-3971
Project: JRuby
Issue Type: Bug
Components: Windows
Affects Versions: JRuby 1.4
Environment: 32-bit WinXP
Reporter: Ian Dees
Priority: Minor
Fix For: JRuby 1.4
Attachments: ng-permissions.patch
Running {{jruby --ng}} gives an "Access denied" error message. Trying to run
{{ng.exe}} in {{tool/nailgun}} gives the same error. Per discussion with
Charlie, this may be caused by an overzealous Windows security policy marking
the file as non-executable because it is not installed in the traditional
{{C:\Program Files}} location.
The easiest way around this is probably just to change the file permissions on
{{ng.exe}} to 755 in the Git repo (even though it won't run on most platforms).
The other possibility is to do something like this in the Ant build on Windows:
{noformat}
cacls tool\nailgun\ng.exe /e /g %USERNAME%:F
{noformat}
{{cacls.exe}} can reasonably be expected to be already installed on modern
versions of Windows.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email