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 symlink is handled as symlink in guest too
-
socratis
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Shared folder symlink is handled as symlink in guest too
From my understanding, the VBox filesystem is a basic interpretation of "a" filesystem, it's not trying to emulate the underlying filesystem and all of its features. That's why links and ACLs and other "exotic" features that you would expect in a normal filesystem don't work over shared folders.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.