Skip to content

Instantly share code, notes, and snippets.

@ahgood
Created August 21, 2019 17:45
Show Gist options
  • Save ahgood/c9acb15d4f25647741fce7a00bb29006 to your computer and use it in GitHub Desktop.
Save ahgood/c9acb15d4f25647741fce7a00bb29006 to your computer and use it in GitHub Desktop.

Revisions

  1. ahgood created this gist Aug 21, 2019.
    14 changes: 14 additions & 0 deletions VirtualBox-SharedFolder
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    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