NFS home directory used by multiple guests

Discussions related to using VirtualBox on Linux hosts.
Post Reply
rf28723
Posts: 30
Joined: 2. Jan 2019, 12:39
Primary OS: MS Windows 10
VBox Version: OSE other
Guest OSses: Oracle Solaris, Oracle Linux
Location: The Netherlands

NFS home directory used by multiple guests

Post by rf28723 »

Good morning,

I have multiple Linux and Solaris guests, and I am looking for a smarter way to share my user home directory between the guests in a NFS mounted home directory style.
Currently, I manually copy the home directory content from one guest to the other through a shared folder, but for things like SSH keys, I have been unable to set the ownership and permissions correctly due to how vboxsf works.
Is there a way, without always running a NFS server VBox, to share a home directory between guests ?

Thanks,
René
Thanks for your time,
René
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: NFS home directory used by multiple guests

Post by scottgus1 »

rf28723 wrote:I have been unable to set the ownership and permissions correctly due to how vboxsf works.
Virtualbox Shared Folders, set up through the VM's settings and requiring Guest Additions inside the VM, are only for manual file copying, not for setting permissions and other stuff a real shared folder provided by the host or VM OS can do.

Try using a real shared folder, set up using the OS's methods, and shared over the network.
Post Reply