Skip to content

Instantly share code, notes, and snippets.

@ahgood
Created August 21, 2019 17:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ahgood/c9acb15d4f25647741fce7a00bb29006 to your computer and use it in GitHub Desktop.
Save ahgood/c9acb15d4f25647741fce7a00bb29006 to your computer and use it in GitHub Desktop.
1. Run from Ubuntu(one time)
sudo apt install virtualbox-guest-x11
2.
sudo mount -t vboxsf Share /var/www/html
OR add to startup:
$ umask # Get umask
0022
$ id # Get uid & gid
uid=1000(USERNAME) gid=1000(USERNAME)
$ sudo nano /etc/fstab
Share /var/www/html vboxsf umask=0002,uid=1000,gid=1000 0 0
$ sudo mount -a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment