How to share a folder on VirtualBox between Host and Guest

Host Debian 6 <> Guest Debian 5

#nano /etc/rc.local
add line
mount -t vboxsf SHARED /home/user/SHARED

You need to add the user name to the vboxsf group on the guest. (the user name that you use to login to the guest).

A minimum of log off and back in is required when permissions are changed.

Host Windows 7 <> Guest Linux Mint 17

Add shared folder

On guest you have to add your user to vboxsf group, otherwise shared folder will be accessible only by root.

# adduser {user} vboxsf

Reboot guest.

No comments:

Post a Comment