Opened 9 years ago
Last modified 9 years ago
#16065 new defect
Cannot create symlink inside shared folder on Windows host
Reported by: | g_tirloni | Owned by: | |
---|---|---|---|
Component: | shared folders | Version: | VirtualBox 5.1.6 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | Windows |
Description
Symlinks do not work inside a VirtualBox Shared Folder when running on Windows 10 host with a Linux guest (Fedora 24)
$ mount | grep vboxsf home_vagrant_sync on /home/vagrant/sync type vboxsf (rw,nodev,relatime) home_vagrant_sync on /home/vagrant/sync type vboxsf (rw,nodev,relatime) $ pwd /home/vagrant/sync $ mkdir a $ ln -s a b ln: failed to create symbolic link 'b': Protocol error
Outside shared folder:
$ cd .. $ pwd /home/vagrant $ mkdir c $ ln -s c d $ ls -ld d lrwxrwxrwx 1 vagrant vagrant 1 Oct 12 20:51 d -> c
Environment:
$ uname -a Linux guest 4.5.7-300.fc24.x86_64 #1 SMP Wed Jun 8 18:12:45 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux $ VBoxClient --version 5.1.6r110634 >"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" --version 5.1.6r110634
Attachments (1)
Change History (3)
by , 9 years ago
comment:1 by , 9 years ago
comment:2 by , 9 years ago
I considered it a bug since Windows supports symlinks, but according to the documentation I should have filed it as an enhacement, sorry about that.
If one would delve into the VirtualBox source code to try and implement this, any high-level advice on how to properly do it?
Note:
See TracTickets
for help on using tickets.
Unless you filed that as an enhancement, it is not a bug. It states so, clearly, in the User Manual, Chapter 4.3 Shared folders. I'll quote an excerpt from the relevant section. Please read the rest of it: