Skip to content

Instantly share code, notes, and snippets.

@hamecoded
Last active January 2, 2016 00:29
Show Gist options
  • Save hamecoded/8224028 to your computer and use it in GitHub Desktop.
Save hamecoded/8224028 to your computer and use it in GitHub Desktop.
virtualbox
# run on the guest(vm) to allow access permissions for the shared mac folder on ubuntu
#The sharename(fe) is the name chosen above.
#For example I've shared the Mac directory /Users/dherron/fe with the sharename of fe.
#The mountpoint(sf_fe/) is the directory within the guest system to mount this share
#- See more at: http://tutorials.davidherron.com/2008/06/virtualbox-running-ubuntu-accessing.html
#drwxrwx--- 1 root vboxsf 476 ינו 2 19:51 sf_fe
sudo mount -t vboxsf -o uid=1000,gid=1000 fe sf_fe/
#drwxr-xr-x 1 git git 476 ינו 2 19:51 sf_fe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment