Linux Share Folder

Sometimes you want to share files between hosts and guest,
So you need use virtualbox’s shared folder feature.

install iso file

1
sudo apt-get install virtualbox-guest-additions-iso

add share folder

  • set share folder at virtualbox host client
    set share foler at client

install guest additions ios

make sure you had installed virtualbox-guest-additions-iso, if not install it by this:

1
sudo apt-get install virtualbox-guest-additions-iso

add user to share folder

Access to auto-mounted shared folders is only granted to the user group vboxsf, which is created by the VirtualBox Guest Additions installer. Hence guest users have to be member of that group to have read/write access or to have read-only access in case the folder is not mapped writable.

1
sudo adduser [your_user_name] vboxsf

after all of this, well done!

reference: Can’t access shared folder in VBox