VirtualBox

Ticket #1244 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

Shared folders fails when listing root folder -> Fixed in VBox 3.x

Reported by: dargor Owned by:
Priority: major Component: shared folders
Version: VirtualBox 1.5.6 Keywords: shared folders
Cc: Guest type: other
Host type: other

Description

Hi. I upgraded from VBox 1.5.0 to 1.5.6, on xp host and linux 2.6.24 guest, and I got this problem:

  • I have D:\ as shared folder (name=drivec , dir=D:\) to the guest, it mounts ok but it cannot list the root directory:
root@host# mount -t vboxsf drivec /mnt
root@host# ls /mnt
ls: /mnt: No such file or directory
root@host# dmesg | tail -1
vboxvfs: sf_dir_open: directory / does not exist
root@host# ls /mnt/dirinside
fileinside.txt  otherdirinside
  • This don't happen if I share a subfolder, e.g. D:\dirinside (name=dirin, dir=D:\dirinside)
root@host# mount -t vboxsf dirin /mnt
root@host# ls /mnt
fileinside.txt  otherdirinside
  • This problem only shows with letter-like folders (c:\ , d:\ , etc), not with subfolders. And this was not in VBox 1.5.0

Thanks.

Change History

comment:1 Changed 6 years ago by dargor

Oops, the upgrade was from 1.5.2 to 1.5.6
Sorry

comment:2 in reply to: ↑ description Changed 6 years ago by rbaxte03

Replying to dargor:

Hi dargor,

You can work around that issue by creating what is called a "junction" in XP, as follows:

Create a directory, for example, "C:\C"

Open "Computer Management" under the "Administrative Tools" control panel.

Choose "Disk Management"

Right-click "C:" and choose "Change Drive Letter and Paths..."

Click "Add" and in the white box type the name of the new directory, i.e. "C:\C" and then click OK

In VirtualBox instead of making "C:" your shared folder, make "C:\C" your shared folder.

The contents of "C:\C" is the same as the contents of "C:\" because it just points back to itself.

Hope this helps until the bug is fixed!

-rbaxte03

comment:3 Changed 6 years ago by frank

  • Component changed from other to shared folders

comment:4 Changed 5 years ago by sunlover

  • Status changed from new to closed
  • Resolution set to fixed
  • Summary changed from Shared folders fails when listing root folder to Shared folders fails when listing root folder -> Fixed in VBox 3.x

This has been fixed some time ago and works with VirtualBox 3.x.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use