VirtualBox

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#5631 closed defect (fixed)

Windows guests don't follow symlinks on shared folders -> Fixed in SVN/3.1.4

Reported by: sorcerer Owned by:
Component: shared folders Version: VirtualBox 3.1.0
Keywords: symlink Cc:
Guest type: Windows Host type: Linux

Description

With VirtualBox 3.1.0 Windows XP guests don't follow symlinks in shared folders if hostmachine is Linux. Windows think that the symlinks is regular files.

Attachments (3)

symlinks.patch (522 bytes ) - added by sorcerer 14 years ago.
Fix for VirtualBox 3.1.0_OSE
symlinks.2.patch (537 bytes ) - added by sorcerer 14 years ago.
Patch fixes incorrect memory usage (corrected)
13hours.html (63 bytes ) - added by hoprutop 14 years ago.

Download all attachments as: .zip

Change History (21)

comment:1 by sorcerer, 14 years ago

I use the latest Ubuntu 9.10 on amd64 and VirtualBox build from the corresponding virtualbox.org repository.

comment:2 by krystian, 14 years ago

I have the same behavior with an OS X (10.6.2) host and a Windows XP SP3 guest.

in reply to:  description comment:3 by micsa, 14 years ago

I can confirm this bug, I'm using Linux 64-bit host and WinXP guest. The symlinks to directories in the shared folders are treated as files, but entering them is possible only explicitly with "cd folder" command.

comment:4 by alphazo, 14 years ago

Confirmed on ArchLinux 32-bit (last update done on Dec 02) host and Windows XP SP3 guest.

comment:5 by herberth, 14 years ago

Confirmed on Ubuntu 9.04, 32-bit host and winXP guest.

comment:6 by sigdrifa@zoho.com, 14 years ago

I can confirm this as well on Ubuntu 9.10 64 bit host. However, the problem is not unique to Windows guests. I have an Ubuntu 9.10 and a Linux Mint (both 32bit) guest with the same problem. And unlike micsa, I can't cd into them from the command line in either of the Linux guests.

comment:7 by Ralf Jung, 14 years ago

I can confirm this regression with VirtualBox 3.1 on Kubuntu 9.10 (32bit) and with a Windows XP SP3 (32bit) guest.

For Linux guests, the issue seems to be different - symlinks in Shared folders are not at all supported: http://www.virtualbox.org/ticket/818 . But unlike this problem, that is not a regression.

in reply to:  7 comment:8 by sigdrifa@zoho.com, 14 years ago

Replying to ralf:

For Linux guests, the issue seems to be different - symlinks in Shared folders are not at all supported: http://www.virtualbox.org/ticket/818 .

It used to work before I upgraded to 3.1.0, though.

comment:9 by Ralf Jung, 14 years ago

Ah, ok... the other bug is invalid or at least not completely up-to-date then. Sorry.

comment:10 by me999, 14 years ago

Confirmed with VirtualBox 3.1.0 r55467, Fedora 12 host (32-bit) and Windows Vista SP2 guest (32-bit). I have a symbolic link in a shared folder that points to a directory outside of the shared folder. In the guest system, it appears as a file that cannot be opened. cd'ing to the link/file in the command prompt does work however. This problem did not occur before upgrade to 3.1.

by sorcerer, 14 years ago

Attachment: symlinks.patch added

Fix for VirtualBox 3.1.0_OSE

comment:11 by sorcerer, 14 years ago

Please see my fix of the bug for OSE.

comment:12 by sorcerer, 14 years ago

Note that this patch won't work correctly with symlinks to non-directories.

by sorcerer, 14 years ago

Attachment: symlinks.2.patch added

Patch fixes incorrect memory usage (corrected)

comment:13 by sorcerer, 14 years ago

Use symlinks.2.patch instead of symlinks.patch. The second patch works correctly with symlinks to all file types.

comment:14 by davenz, 14 years ago

I see the same thing on an Opensolaris snv_128a x64 host, but using Ubuntu 9.04 and 9.10 guests - I confirm this isn't confined to Windows guests as another poster has advised.

comment:15 by sunlover, 14 years ago

Summary: Windows guests don't follow symlinks on shared foldersWindows guests don't follow symlinks on shared folders -> Fixed in SVN

The problem already fixed in SVN, see http://www.virtualbox.org/changeset/25292 The fix will be available in the next maintenance release (3.1.2).

comment:16 by Frank Mehnert, 14 years ago

Resolution: fixed
Status: newclosed

comment:17 by Frank Mehnert, 14 years ago

Resolution: fixed
Status: closedreopened
Summary: Windows guests don't follow symlinks on shared folders -> Fixed in SVNWindows guests don't follow symlinks on shared folders -> Fixed in SVN/3.1.4

comment:18 by Frank Mehnert, 14 years ago

Resolution: fixed
Status: reopenedclosed

by hoprutop, 14 years ago

Attachment: 13hours.html added
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use