Choose style:

Author Topic: Can't access VirtualBox shared folder  (Read 82 times)

0 Members and 1 Guest are viewing this topic.

Offline pstrg

  • nOOb
  • *
  • Posts: 2
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Can't access VirtualBox shared folder
« on: December 29, 2019, 10:59:16 am »
Installed Peppermint on VirtualBox (6.1.0) running on Windows 10 - very smooth.
Next, installed VirtualBox Guest Additions, so that a new folder sf_lin-win started appearing to me after reboot.
However, when I tried to make that folder the Firefox download folder I got
Error opening directory '/media/sf_lin-win': Permission denied.

p.s. Should I inform I'm a Linux newbie?

Offline pstrg

  • nOOb
  • *
  • Posts: 2
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: Can't access VirtualBox shared folder
« Reply #1 on: December 29, 2019, 06:04:08 pm »
Well... solved it by myself.
For the sake of other clueless newbies like me: what I did was just to add my username to group vboxsf, which is automatically created by VirtualBox.

Code: [Select]
sudo usermod -aG vboxsf <username>
sudo reboot

Now, why on Hell (or Heaven, I'm not sure where) do Ubuntu-based distros perform so differently from one another?
What I did is not necessary on some... it's really confusing.

Offline clatterfordslim

  • Trusted User
  • Member
  • *****
  • Posts: 509
  • Karma: 73
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 10, Nine Respin 2
Re: Can't access VirtualBox shared folder
« Reply #2 on: December 30, 2019, 04:30:23 am »
Well... solved it by myself.
For the sake of other clueless newbies like me: what I did was just to add my username to group vboxsf, which is automatically created by VirtualBox.

Code: [Select]
sudo usermod -aG vboxsf <username>
sudo reboot

Now, why on Hell (or Heaven, I'm not sure where) do Ubuntu-based distros perform so differently from one another?
What I did is not necessary on some... it's really confusing.

Yes all you have to do is add yourself to VirtualBox users in
Code: [Select]
 Menu/System/Users and Groups

Choose
Code: [Select]
Manage Groups

Scroll down to
Code: [Select]
vboxusers

Then
Code: [Select]
Left Click Properties

Tick the box under
Code: [Select]
Group Members
The one next to your usermame

Click OK

Pop in your Password and click OK

Reboot your system and fire up Virtualbox and then you can add external devices.  :)
Not only is Peppermint an addictive OS to use.
But so is this Forum :)