Page 1 of 1

[Resolved] Shared folder on iMAC

PostPosted: 31. May 2019, 17:01
by Sy
I've created a shared folder on my iMAC, the folder appears in the Ubuntu VM as sf_Shared.

How to I grant permission to the VM to access the shared folder as currently when I try to access the shared folder I get:
This location could not be displayed.
You do not have permissions necessary to view the contents of "sf_Shared".

Re: Shared folder on iMAC

PostPosted: 31. May 2019, 17:28
by socratis
Sy wrote:How to I grant permission to the VM to access the shared folder

Start by reading the User Manual? From ch. 4.3.2 Automatic Mounting:
Access to an automatically mounted shared folder is granted to everyone in a Windows guest, including the guest user. For Linux and Oracle Solaris guests, access is restricted to members of the group vboxsf and the root user.

You need to add your VM user to the 'vboxsf' group...

Moving to "Linux Guests" from "OSX Hosts".

Re: Shared folder on iMAC

PostPosted: 31. May 2019, 17:30
by Sy
I've solved this now:

Code: Select all   Expand viewCollapse view
sudo usermod -a -G vboxsf $(whoami)


Then logout or restart virtual machine.

Re: Shared folder on iMAC

PostPosted: 31. May 2019, 18:33
by socratis
Good job Sy, marking this as [Resolved].