On Wednesday 20 July 2011 15:33:48 walt did opine thusly: > I've been trying to share /usr/portage on a gentoo host with a > virtualbox gentoo guest, but I'm having an identity crisis ;) > > The /usr/portage/ share mounts perfectly on the gentoo guest, > but even root (on the gentoo guest) can't write to the shared > portage directory. > > After hours of googling and putzing around with mount options, > I'm pretty sure that root on the host is not the same user as > root on the virtualbox guest. > > This seems analogous to an NFS mount without the 'no_squash_root' > mount option, but I haven't discovered the analogous solution > for vboxfs mounts. > > Any applications of the cluestick would be most welcome :)
What are the relevant entries in /etc/exports on the host /etc/fstab on the guest root on one is not different to root on another; root is root. Well actually it's EUID=0 is EUID=0 but you get the idea. Your problem is one of root_squash active on the host mounted ro on the guest exported ro on the host some weird new funkyness courtesy of NFS4 -- alan dot mckinnon at gmail dot com