Ticket #6596 (closed defect: obsolete)
Java's jar tool fails when extracting on shared folder
|Reported by:||rkennke||Owned by:|
Description (last modified by aeichner) (diff)
I can't extract a JAR file onto a VirtualBox shared folder. It fails with 'cannot create directory' error message.
Steps to reproduce:
- I am using Windows XP Pro as guest and Ubuntu 9.10 as host
- Install JDK ( I tried with latest JDK6)
- Mount a shared folder (let's say on z:)
- Extract a JAR to the shared folder, for example:
%JDKPATH%\bin\jar.exe xvf %JDKPATH%\lib\jconsole.jar
replace %JDKPATH% with the directory where you installed the JDK.
I tracked this to a call to java.io.File.mkdirs() in Java, but I'm not sure what it does in terms of system calls.
I *was* able to do the same on a Samba-mounted share. (This is a workaround: setup Samba to share the needed folder, and mount this instead.)