Skip to content

Instantly share code, notes, and snippets.

@P7h
Created August 17, 2017 22:13
Show Gist options
  • Select an option

  • Save P7h/0b0e24525dd4b4e712d82c0d2e7000cd to your computer and use it in GitHub Desktop.

Select an option

Save P7h/0b0e24525dd4b4e712d82c0d2e7000cd to your computer and use it in GitHub Desktop.

Revisions

  1. P7h created this gist Aug 17, 2017.
    5 changes: 5 additions & 0 deletions VBox_Share.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    # Create a shared folder "Share" in the Host OS through the GUI.
    # Run the following in the Virtual Box Guest OS.
    sudo usermod -aG vboxsf <<current_user>>
    mkdir ~/share
    sudo mount -t vboxsf -o uid=$UID,gid=$(id -g) Share ~/share