Skip to content

Instantly share code, notes, and snippets.

@DanzelWTF
Created October 17, 2016 14:47
Show Gist options
  • Save DanzelWTF/649b53a895259816a77f78f0f7c4d6da to your computer and use it in GitHub Desktop.
Save DanzelWTF/649b53a895259816a77f78f0f7c4d6da to your computer and use it in GitHub Desktop.
mount -t vboxsf <SHARE_NAME> -o rw,dmode=777,gid=<GROUP_ID>,uid=<USER_ID> /path/on/guest
GROUP_ID -> id -g username
USER_ID -> id -u username
---
To mount this folder on startup creat a file (etc/init/<FILENAME>.conf) with the following content:
description "SOME DESCRIPTION"
start on starting
task
exec mount -t vboxsf <SHARE_NAME> -o rw,dmode=777,gid=<GROUP_ID>,uid=<USER_ID> /path/on/guest
---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment