Can't move folder to a UNC path
-------------------------------

                 Key: JRUBY-4903
                 URL: http://jira.codehaus.org/browse/JRUBY-4903
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.5.1
         Environment: Windows
            Reporter: George


I can't move a folder onto a UNC path. So a 

mv src,dest, :verbose => true, :force => true

where dest is a windows share doesn't do anything. Mapping the share doesn't 
help, and mounting the share in linux doesn't do anything either. It doesn't 
throw any errors, but no files are moved. I can reproduce this easy enough with 
a gem generate_index -d <share_name> where <share_name> can be a UNC path, a 
mounted drive pointing to a windows share, or a linux mount point which mounts 
the windows share.

The RubyFile.java class does throw the "throw 
runtime.newErrnoEACCESError(oldNameJavaString + " or " + newNameJavaString);" 
exception, but FuleUtils.rb seems to ignore it.

This could be related to http://jira.codehaus.org/browse/JRUBY-2724

-- 
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


Reply via email to