* [gentoo-user] no_root_squash equivalent for virtualbox shared folders?
@ 2011-07-20 22:33 walt
2011-07-20 22:40 ` Alan McKinnon
0 siblings, 1 reply; 2+ messages in thread
From: walt @ 2011-07-20 22:33 UTC (permalink / raw
To: gentoo-user
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 :)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-user] no_root_squash equivalent for virtualbox shared folders?
2011-07-20 22:33 [gentoo-user] no_root_squash equivalent for virtualbox shared folders? walt
@ 2011-07-20 22:40 ` Alan McKinnon
0 siblings, 0 replies; 2+ messages in thread
From: Alan McKinnon @ 2011-07-20 22:40 UTC (permalink / raw
To: gentoo-user; +Cc: walt
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-07-20 22:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-20 22:33 [gentoo-user] no_root_squash equivalent for virtualbox shared folders? walt
2011-07-20 22:40 ` Alan McKinnon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox