VirtualBox

Ticket #6596 (new defect)

Opened 4 years ago

Java's jar tool fails when extracting on shared folder

Reported by: rkennke Owned by:
Priority: major Component: other
Version: VirtualBox 3.1.6 Keywords:
Cc: Guest type: Windows
Host type: Linux

Description

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

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use