Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: JRuby 1.5.1
    • Fix Version/s: JRuby 1.7.2
    • Component/s: Core Classes/Modules
    • Labels:
      None
    • Environment:
      Windows
    • Number of attachments :
      0

      Description

      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

        Issue Links

          Activity

          Hide
          Charles Oliver Nutter added a comment -

          Getting a bit late in 1.6 cycle for this. Has it been integrated in the offending library?

          Show
          Charles Oliver Nutter added a comment - Getting a bit late in 1.6 cycle for this. Has it been integrated in the offending library?
          Hide
          Thomas E Enebo added a comment -

          Hoping to land this when I land real Windows exec behavior (hoping for 1.6.0 still).

          Show
          Thomas E Enebo added a comment - Hoping to land this when I land real Windows exec behavior (hoping for 1.6.0 still).
          Hide
          George added a comment - - edited

          Not sure if this was fixed using Jay's patch, or http://jira.codehaus.org/browse/JRUBY-2724 fixed it, but it appears to be fixed in 1.7.2

          Show
          George added a comment - - edited Not sure if this was fixed using Jay's patch, or http://jira.codehaus.org/browse/JRUBY-2724 fixed it, but it appears to be fixed in 1.7.2
          Hide
          George added a comment -

          Correction, the move seems fixed, but a mkdir -p still fails. Using Jay's patch, I can still get this to work, but 1.7.2 hasn't fixed it.

          Show
          George added a comment - Correction, the move seems fixed, but a mkdir -p still fails. Using Jay's patch, I can still get this to work, but 1.7.2 hasn't fixed it.
          Hide
          Charles Oliver Nutter added a comment -

          The original issue (moving file to UNC path) has been reported as fixed in 1.7.2. If the new issue (mkdir in a UNC path) is still a problem, please re-file at http://bugs.jruby.org.

          Show
          Charles Oliver Nutter added a comment - The original issue (moving file to UNC path) has been reported as fixed in 1.7.2. If the new issue (mkdir in a UNC path) is still a problem, please re-file at http://bugs.jruby.org .

            People

            • Assignee:
              Charles Oliver Nutter
              Reporter:
              George

              Dates

              • Created:
                Updated:
                Resolved: