Windows UNC network share inconsistency with MRI Ruby
-----------------------------------------------------
Key: JRUBY-5440
URL: http://jira.codehaus.org/browse/JRUBY-5440
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.6RC1
Environment: Windows 7 x64, Windows XP 32-bit
Reporter: J. David Escobar
Attachments: FileUtilsShortTest.rb
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.
--
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