Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Mar 2020 18:12:13 -0400
From:      Nicholas Papadonis <nick.papadonis.ml@gmail.com>
To:        Mario Lobo <lobo@bsd.com.br>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: How do you mount a Virtualbox shared folder? Group or permissions issue?
Message-ID:  <A1BE9EBA-84EC-4C34-B2CB-3683CC5432AD@gmail.com>
In-Reply-To: <CA%2ByoEx_2dmMm1wf95s1ydfTQ5iCN9sH=akQYq5B1V=EdM7MtFA@mail.gmail.com>
References:  <CAKD0t1KrEhPG4--2f9J%2BcSVXdDp_JNv7Ztv0PG1eHdPC-NuUKg@mail.gmail.com> <CAKD0t1JEuNrzhsW5gx5Sz0Yrq_qnuPo_Dvz10SjJV7mQa7zAjQ@mail.gmail.com> <CA%2ByoEx_2dmMm1wf95s1ydfTQ5iCN9sH=akQYq5B1V=EdM7MtFA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
What version of FreeBSD?  6.0?

> On Nov 7, 2019, at 9:38 AM, Mario Lobo <lobo@bsd.com.br> wrote:
>=20
> On Wed, Nov 6, 2019 at 1:57 PM Nicholas Papadonis <
> nick.papadonis.ml@gmail.com> wrote:
>=20
>> 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.
>>=20
>> =
https://www.freebsd.org/doc/handbook/virtualization-guest-virtualbox.html
>>=20
>> Thank you
>>=20
>> On Wed, Nov 6, 2019 at 12:40 AM Nicholas Papadonis <
>> nick.papadonis.ml@gmail.com> wrote:
>>=20
>>> Does anyone know the procedure for a non-root user to gain access to
>>> Virtualbox shared folders?
>>>=20
>>> 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.
>>>=20
>>> Your guidance appreciated.
>>>=20
>>> $ mkdir /mnt/srcr
>>>=20
>>> $ ls -ld /mnt/srcr
>>> drwxr-xr-x  2 root  vboxsf  512 Nov  6 00:03 /mnt/srcr
>>>=20
>>> $ sudo mount -t vboxvfs Source /mnt/srcr
>>>=20
>>> $ ls -ld /mnt/srcr
>>> drwxr-xr-x  1 root  wheel  576 Oct 14 21:45 /mnt/srcr
>>>=20
>>> $ 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
>>>=20
>>>=20
>> _______________________________________________
>> freebsd-questions@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "
>> freebsd-questions-unsubscribe@freebsd.org"
>>=20
>=20
> Running VBox 6.0.8 on my desktop without problems.
>=20
> --=20
> Mario Lobo
> http://www.mallavoodoo.com.br
> FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!]
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to =
"freebsd-questions-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A1BE9EBA-84EC-4C34-B2CB-3683CC5432AD>