Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Mar 2020 12:34:18 -0400
From:      Nicholas Papadonis <nick.papadonis.ml@gmail.com>
To:        Manish Jain <bourne.identity@hotmail.com>
Cc:        Mario Lobo <lobo@bsd.com.br>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: How do you mount a Virtualbox shared folder? Group or permissions issue?
Message-ID:  <27A6356A-AC35-4526-898B-88C87FAC703B@gmail.com>
In-Reply-To: <0438AA11-06BB-4D8B-BDF9-8F15E785882D@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> <A1BE9EBA-84EC-4C34-B2CB-3683CC5432AD@gmail.com> <DB8PR06MB6442DE184E5FF9E1E13C65AEF6F00@DB8PR06MB6442.eurprd06.prod.outlook.com> <DB8PR06MB64423F4FC86207DFA0B53EA3F6F00@DB8PR06MB6442.eurprd06.prod.outlook.com> <0438AA11-06BB-4D8B-BDF9-8F15E785882D@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Solved.

/etc/fstab:
Source		/mnt/srcr	vboxvfs rw,uid=3D1001	0	0

> On Mar 24, 2020, at 12:12 PM, Nicholas Papadonis =
<nick.papadonis.ml@gmail.com> wrote:
>=20
> I updated to the latest and it works!
>=20
> $ sudo mount -t vboxvfs -o uid=3D1001 Source /mnt/srcr
>=20
> $ uname -a
> FreeBSD fbsd 12.1-RELEASE FreeBSD 12.1-RELEASE r354233 GENERIC  amd64
>=20
> The only issue is the mount points are not made permanent according to =
the Shared Folders dialog in VirtualBox.
>=20
> I tried editing fstab, however the changes were lost.  Does anyone =
know where to place the mount options?
>=20
> Thanks
>=20
>> On Mar 23, 2020, at 7:33 PM, Manish Jain =
<bourne.identity@hotmail.com> wrote:
>>=20
>> Another correction : the type should not be vboxvfs, rather vboxsf :
>>=20
>> sudo mount -t vboxsf -o uid=3D1000 Source /mnt/srcr
>>=20
>>=20
>> On 24/03/2020 04:54, Manish Jain wrote:
>>> On 24/03/2020 03:42, Nicholas Papadonis wrote:
>>>> sudo mount -t vboxvfs Source /mnt/srcr
>>> I think that command is wrong. Try:
>>> sudo mount -t vboxvfs -o uid=3D1000 Source /mnt/srcr
>>> (Presuming your non-root user is UID 1000)
>>> Regards,
>>> Manish Jain
>=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?27A6356A-AC35-4526-898B-88C87FAC703B>