Monday, July 02, 2012

Share a folder from ubuntu server with virtualbox

 Add a existing user to existing group

# usermod -a -G vboxsf pedro
# id pedro

sudo mount -t vboxsf kits /var/www/site

Even better...

In the “Shared Folders” screen, give full access, but don’t check auto-mount
Check your uid&gid (by doing >id)
Add the following line /etc/fstab

site   /var/www/site  vboxsf  uid=1000,gid=1000,nodev,noexec,nosuid,auto,rw 0 0
Post a Comment

How to mount an ISO file in ubuntu?

Maybe, instead of installing additional software, you can use what the system has to this end: Create a directory to serve as the mount ...