How do you mount a Virtualbox shared folder? Group or permissions issue?
Mario Lobo
lobo at bsd.com.br
Thu Nov 7 14:39:21 UTC 2019
On Wed, Nov 6, 2019 at 1:57 PM Nicholas Papadonis <
nick.papadonis.ml at gmail.com> wrote:
> Has anyone tested FreeBSD inclusive VirtualBox drivers with VirtualBox
> 6.0? I looked on the manual page, however it is referencing Sun
> Microsystems. Therefore I'm considering this manual page about 10 years
> outdated.
>
> https://www.freebsd.org/doc/handbook/virtualization-guest-virtualbox.html
>
> Thank you
>
> On Wed, Nov 6, 2019 at 12:40 AM Nicholas Papadonis <
> nick.papadonis.ml at gmail.com> wrote:
>
> > Does anyone know the procedure for a non-root user to gain access to
> > Virtualbox shared folders?
> >
> > This was fairly straightforward in Debian, however I'm having challenges
> > with FreeBSD. It looks like a group and permissions issue. In Debian, I
> > simply created a group "vboxsf", added my unprivileged user to it, chgrp
> > the mount folder and then mounted. I tried this in FreeBSD I used this
> > procedure, however the group gets changed on the folder to "wheel" after
> > mounting the shared folder.
> >
> > Your guidance appreciated.
> >
> > $ mkdir /mnt/srcr
> >
> > $ ls -ld /mnt/srcr
> > drwxr-xr-x 2 root vboxsf 512 Nov 6 00:03 /mnt/srcr
> >
> > $ sudo mount -t vboxvfs Source /mnt/srcr
> >
> > $ ls -ld /mnt/srcr
> > drwxr-xr-x 1 root wheel 576 Oct 14 21:45 /mnt/srcr
> >
> > $ whoami
> > np
> > $ pwd
> > /mnt/srcr
> > $ ls /mnt/src
> > drwx------ 10 root wheel 320 Oct 14 21:35 X/
> > $ ls /mnt/src/X
> > ls: X/: Permission denied
> >
> >
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>
Running VBox 6.0.8 on my desktop without problems.
--
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!]
More information about the freebsd-questions
mailing list