Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: JRuby 1.6RC1
-
Fix Version/s: None
-
Component/s: Core Classes/Modules
-
Labels:None
-
Environment:Windows 7 x64, Windows XP 32-bit
-
Testcase included:yes
-
Number of attachments :
Description
In JRuby 1.6.0 RC1, file and directory operations do not work when dealing with the root directory of a UNC network share. (Verified on Windows XP 32-bit and Windows 7 x64).
Example:
require 'FileUtils'
Dir.entries("//fileshare/rootfolder")
File.directory?("//engfile6/pa")
...both statements throw: Errno::ENOENT: No such file or directory - //fileshare/rootfolder.
Copying and moving files/folders also results in similar problems. This only happens on the root share directory. For example, Dir.entries("//fileshare/rootfolder/work") works as expected.
I've verified that these problems are not present in MRI Ruby 1.9.2, so this seems to be specific to JRuby. I'm running JRuby IRB with the --1.9 flag.
Apologies if this is a duplicate issue. I saw several UNC-related issues, but none seemed to address this specific one. Please let me know if you need any additional information. Thanks.
Issue Links
- duplicates
-
JRUBY-2724
Can not create Ruby on rails application while using UNC path folder
-
Activity
| Field | Original Value | New Value |
|---|---|---|
| Link | This issue duplicates JRUBY-2724 [ JRUBY-2724 ] |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Duplicate [ 3 ] |
| Resolution | Duplicate [ 3 ] | |
| Status | Resolved [ 5 ] | Reopened [ 4 ] |
| Status | Reopened [ 4 ] | Resolved [ 5 ] |
| Resolution | Duplicate [ 3 ] |
| Status | Resolved [ 5 ] | Closed [ 6 ] |
This sounds like a duplicate of this old issue.