Page 1 of 1

Symbolic links in shared folders

Posted: 8. Jan 2011, 19:25
by dglsquaid
Hi all !

Virtualbox 4.0.0
windows host, linux guest.

If I made with windows a simlink from folder c:\Documents to d:\shared_folder\documents... under linux this symlink doesn't works... is not accessible ( red color 0 byte )... linux can't access to c:\Documents.
In the past releases 3.2.8 e.g. this symlink worked.
Can you confirm ?

Re: Symbolic links in shared folders

Posted: 8. Jan 2011, 20:30
by Sasquatch
Windows symlinks are different from Linux symlinks. The support that was added, was for Linux symlinks. It apparently breaks Windows symlinks. In the past, all symlinks were treated like a normal file or folder, now they don't.
I'm also curious as how Linux handles Windows symlinks, because the other way around doesn't work. Windows will just show a file instead that's 0 bytes.

Re: Symbolic links in shared folders

Posted: 8. Jan 2011, 21:16
by dglsquaid
Hi Sasquatch,

For testing windows simlinks I used mklink from cmd line and a specific ( awesome ) program like Link Shell Extension (http://schinagl.priv.at/nt/hardlinkshel ... ml#contact ) that allow making different kinds of links... but nothing working...

Re: Symbolic links in shared folders

Posted: 8. Jan 2011, 21:19
by Sasquatch
I am aware of that feature in Windows (Vista and newer supports it), as I've used it a few times when I did use Windows. But like I said, the way Windows uses it is different from Linux and the currently supported symlinks are from Linux only. Windows' symlinks are broken because of that. You might want to report this in the Bugtracker (separate account needed). Post the ticket here in case others have the same problem.

Re: Symbolic links in shared folders

Posted: 8. Jan 2011, 21:39
by dglsquaid
Sasquatch wrote:I am aware of that feature in Windows (Vista and newer supports it), as I've used it a few times when I did use Windows. But like I said, the way Windows uses it is different from Linux and the currently supported symlinks are from Linux only. Windows' symlinks are broken because of that. You might want to report this in the Bugtracker (separate account needed). Post the ticket here in case others have the same problem.
Bugtracker ticket here :
http://www.virtualbox.org/ticket/8038#preview