From e5e3f949566fbf2f4289e960e5c3dd929e889b94 Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Tue, 7 Feb 2017 10:36:21 +0100 Subject: [PATCH] Add command to fix symlink --- index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index d049c7b..636e6e7 100644 --- a/index.js +++ b/index.js @@ -39,7 +39,10 @@ class VirtualBox { if (opts.writable === false || opts.readonly) args.push('--readonly') if (opts.transient) args.push('--transient') - this.command(args, done) + this.command(args, function () { + const args2 = ['setextradata', 'default', 'VBoxInternal2/SharedFoldersEnableSymlinksCreate/' + name, '1'] + this.command(args2, done) + }) } removeShare() {