VirtualBox

Opened 14 years ago

Closed 8 years ago

#6596 closed defect (obsolete)

Java's jar tool fails when extracting on shared folder

Reported by: Roman Kennke Owned by:
Component: other Version: VirtualBox 3.1.6
Keywords: Cc:
Guest type: Windows Host type: Linux

Description (last modified by aeichner)

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

Change History (1)

comment:1 by aeichner, 8 years ago

Description: modified (diff)
Resolution: obsolete
Status: newclosed

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use