VirtualBox

Ticket #5631 (closed defect: fixed)

Opened 8 months ago

Last modified 3 months ago

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

Reported by: sorcerer Assigned to:
Priority: major 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

symlinks.patch (0.5 kB) - added by sorcerer on 2009-12-08 09:31:51.
Fix for VirtualBox 3.1.0_OSE
symlinks.2.patch (0.5 kB) - added by sorcerer on 2009-12-08 12:21:13.
Patch fixes incorrect memory usage (corrected)
13hours.html (63 bytes) - added by hoprutop on 2010-07-14 11:14:57.

Change History

2009-12-01 19:30:12 changed by sorcerer

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

2009-12-02 09:06:33 changed by krystian

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

(in reply to: ↑ description ) 2009-12-02 14:53:09 changed by micsa

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.

2009-12-02 23:08:49 changed by alphazo

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

2009-12-04 16:31:38 changed by herberth

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

2009-12-05 14:22:31 changed by sigdrifa

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.

(follow-up: ↓ 8 ) 2009-12-05 18:05:28 changed by ralf

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 ) 2009-12-05 18:17:26 changed by sigdrifa

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.

2009-12-05 18:23:53 changed by ralf

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

2009-12-06 18:00:07 changed by me999

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.

2009-12-08 09:31:51 changed by sorcerer

  • attachment symlinks.patch added.

Fix for VirtualBox 3.1.0_OSE

2009-12-08 09:36:19 changed by sorcerer

Please see my fix of the bug for OSE.

2009-12-08 10:32:53 changed by sorcerer

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

2009-12-08 12:21:13 changed by sorcerer

  • attachment symlinks.2.patch added.

Patch fixes incorrect memory usage (corrected)

2009-12-08 12:28:49 changed by sorcerer

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

2009-12-15 09:47:09 changed by davenz

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.

2009-12-15 10:02:43 changed by sunlover

  • summary changed from Windows guests don't follow symlinks on shared folders to Windows 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).

2009-12-17 16:04:00 changed by frank

  • status changed from new to closed.
  • resolution set to fixed.

2010-01-18 17:09:33 changed by frank

  • status changed from closed to reopened.
  • resolution deleted.
  • summary changed from Windows guests don't follow symlinks on shared folders -> Fixed in SVN to Windows guests don't follow symlinks on shared folders -> Fixed in SVN/3.1.4.

2010-02-12 23:38:29 changed by frank

  • status changed from reopened to closed.
  • resolution set to fixed.

2010-07-14 11:14:57 changed by hoprutop

  • attachment 13hours.html added.


ContactPrivacy policy