From e65ac705b460aa0f13d6ae5e8d9d84a0c818dd67 Mon Sep 17 00:00:00 2001 From: Pete Michaud Date: Sat, 21 Sep 2013 21:41:06 -0500 Subject: [PATCH] fixed missing backtick --- plugins/guests/linux/cap/mount_virtualbox_shared_folder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/guests/linux/cap/mount_virtualbox_shared_folder.rb b/plugins/guests/linux/cap/mount_virtualbox_shared_folder.rb index 228fa64ee..c22dc7a8d 100644 --- a/plugins/guests/linux/cap/mount_virtualbox_shared_folder.rb +++ b/plugins/guests/linux/cap/mount_virtualbox_shared_folder.rb @@ -52,7 +52,7 @@ module VagrantPlugins chown_commands = [] chown_commands << "chown `id -u #{options[:owner]}`:`getent group #{options[:group]} " + "| cut -d: -f3` #{expanded_guest_path}" - chown_commands << "chown `id -u #{options[:owner]}`:`id -g #{options[:group]} " + + chown_commands << "chown `id -u #{options[:owner]}`:`id -g #{options[:group]}` " + "#{expanded_guest_path}" exit_status = machine.communicate.sudo(chown_commands[0], error_check: false)