Symlink doesn't work with relative path destinations and Dir.chdir
------------------------------------------------------------------
Key: JRUBY-3182
URL: http://jira.codehaus.org/browse/JRUBY-3182
Project: JRuby
Issue Type: Bug
Reporter: Nick Sieger
Assignee: Thomas E Enebo
Because of the way we deal with current directory, the following doesn't work:
{noformat}
Dir.chdir("/tmp")
require 'fileutils'
FileUtils.ln_s "/etc/hosts", "."
{noformat}
The hosts link will end up in the original JVM process pwd, not relative to the
changed directory.
--
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