Symlinks to shared folder does not work

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
VDev
Posts: 4
Joined: 8. Aug 2014, 04:17

Symlinks to shared folder does not work

Post by VDev »

When I attempt to create a symlink from the guest OS (Linux) to my shared folder on OS X (Mavericks), I get a message: "Operation not permitted". I have tried various suggestions such as:

VBoxManage setextradata YOURVMNAME VBoxInternal2/SharedFoldersEnableSymlinksCreate/YOURSHAREFOLDERNAME 1

But it does not work! Any help will be greatly appreciated as this has become a major road block in development.
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: Symlinks to shared folder does not work

Post by socratis »

Do not use shared folders. Use a true network share. The first if for convenience, the latter for things that actually work.
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.
Rocket
Posts: 1
Joined: 5. Feb 2015, 23:07

Re: Symlinks to shared folder does not work

Post by Rocket »

Any specific steps on implementing this work-around?
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: Symlinks to shared folder does not work

Post by socratis »

Work-around? It's not a work-around, it's how things are supposed to work in the real world. How would you connect two physical PCs? With a network share. That's it, no magic.

What is it that you're trying to do, and between what host and what guest? Is it maybe a better idea to start a new topic?
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.
Peter-493
Posts: 13
Joined: 4. May 2013, 00:20

Re: Symlinks to shared folder does not work

Post by Peter-493 »

Hi socratis

I was trying to set a hardlink within my XP-guest to a shared-folder on my OSX-host to save some preference files I need in a program I run in my guest. I got the error-message that hardlinks are only applicable to local NTFS-folders.

Am I having the same problem as VDev? Could I use the same solution?

Peter
VirtualBox 4.3.20 PUEL
Guest Extensions installed

Host: Mac OSX 10.9 (Mavericks)
Guest: XP-Pro 32bit
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: Symlinks to shared folder does not work

Post by socratis »

Peter-493 wrote:hardlinks are only applicable to local NTFS-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.
Peter-493
Posts: 13
Joined: 4. May 2013, 00:20

Re: Symlinks to shared folder does not work

Post by Peter-493 »

Yes, so hardlinks are neither possible to shared nor to proper network-folders. I guess I will have to copy the preferences files manually from the guest to the host.

Thanks to all!

Peter
VirtualBox 4.3.20 PUEL
Guest Extensions installed

Host: Mac OSX 10.9 (Mavericks)
Guest: XP-Pro 32bit
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Symlinks to shared folder does not work

Post by loukingjr »

Something that might make your life a little bit easier would be to share the OSX destination folder, create a shortcut to the XP folder that contains the preference files you want to copy and move it into the shared folder on XP. That way you can dbl-clk the shortcut and at least select them all at one time to copy to the OSX folder.

I hope that made sense. :D
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Post Reply