Sudo mount -t vboxsf -o uid=1000,gid=1000 sharename /home//vboxshare
If prerequisites are met we may mount these shared folders manually by running the following commands in the guest: mkdir /home//vboxshare There are some limitations for shared folders (see this question for details). Use the -transient option if you only want the shares to appear in the present session but not persistent for following sessions.
This can be done from the command line on the host with: VBoxManage sharedfolder add "VM name" -name sharename -hostpath "C:\test"īy adding the option -readonly we can restrict these for read-only access. Access to shared folders in Virtual Box Command lineīy default, VirtualBox shared folders are created with read/write permission for the guest.