Shared folder symlink is handled as symlink in guest too
Posted: 5. Jan 2014, 00:24
I want to share data with guest, but I also need to create some proper structure of data using symlinks...
- shared folder name "foo"
- shared folder path "D:\shared"
- real path to data "D:\real\foo"
- "mklink /D D:\shared\foo D:\real\foo"
- fstab: "foo /home/me/foo vboxsf defaults,fmode=0755,dmode=0755,uid=1000,gid=1000 0 0"
In Linux guest, I get:
foo -> D:\real\foo
Obviously, this can't work... When I use "/J" to create symlink, I get just "protocol error". Another thing is, I don't want to use VBoxManage to modify all symlinked paths because number of symlinks I need to create is just huge. Is there any other way how to make this work? (Somethink like: "Here you go, share these data, don't care whether it is symlink or not, just present it to guest as regular directory")
- shared folder name "foo"
- shared folder path "D:\shared"
- real path to data "D:\real\foo"
- "mklink /D D:\shared\foo D:\real\foo"
- fstab: "foo /home/me/foo vboxsf defaults,fmode=0755,dmode=0755,uid=1000,gid=1000 0 0"
In Linux guest, I get:
foo -> D:\real\foo
Obviously, this can't work... When I use "/J" to create symlink, I get just "protocol error". Another thing is, I don't want to use VBoxManage to modify all symlinked paths because number of symlinks I need to create is just huge. Is there any other way how to make this work? (Somethink like: "Here you go, share these data, don't care whether it is symlink or not, just present it to guest as regular directory")