Skip to content

Instantly share code, notes, and snippets.

@anhkind
Last active December 22, 2018 05:25
Show Gist options
  • Save anhkind/d41430c5e723531cdd1a2841951512e2 to your computer and use it in GitHub Desktop.
Save anhkind/d41430c5e723531cdd1a2841951512e2 to your computer and use it in GitHub Desktop.
Settings of Virtualbox
# HOST
# make symlink work on shared folder (from: https://github.com/npm/npm/issues/992#issuecomment-174154202)
VM_NAME="Ubuntu"
SHARE_NAME="sf_dev"
VBoxManage setextradata "$VM_NAME" VBoxInternal2/SharedFoldersEnableSymlinksCreate/$SHARE_NAME 1
# check again
VBoxManage getextradata "$VM_NAME" enumerate
# GUEST
# fix permission (from: https://stackoverflow.com/a/26981786/1036829)
sudo adduser $USER vboxsf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment