[Resolved] Shared folder on iMAC

Discussions about using Linux guests in VirtualBox.
Post Reply
Sy
Posts: 64
Joined: 30. Oct 2017, 22:29
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Windows 7
Location: United Kingdom

[Resolved] Shared folder on iMAC

Post 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".
Last edited by socratis on 31. May 2019, 18:33, edited 1 time in total.
Reason: Marked as [Resolved].
Kind Regards,
Sy
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Shared folder on iMAC

Post 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".
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Sy
Posts: 64
Joined: 30. Oct 2017, 22:29
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Windows 7
Location: United Kingdom

Re: Shared folder on iMAC

Post by Sy »

I've solved this now:

Code: Select all

sudo usermod -a -G vboxsf $(whoami)
Then logout or restart virtual machine.
Kind Regards,
Sy
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Shared folder on iMAC

Post by socratis »

Good job Sy, marking this as [Resolved].
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply