So I have virtualbox with shared folder
linux host:
/home/www/shared
/home/www/shared/storage -> /home/www-storage/
what linux guest sees:
/var/vb-share
/var/vb-share/storage -> /home/www-storage (i want virtualbox to follow symlink instead)
How to make virtualbox follow host machine symlink?
I can mount --bind
folders and it works ok but I would rather use symlinks.
I also can just use /home/www-storage
as second share but symlink would be more convenient for me.
There is plenty of questions related to creating symlink on linux guest from windows host but I think this is different. I don't want to create symlinks in guest OS. I want virtualbox to follow symlink in host OS.
I found this answer but it doesn't seem to work (I use vagrant) and I don't need to create links on guest. I want host follow symlink in shared folder.
Another user says "Short answer is it cannot be done." but the answer is from 2014.