fixed missing backtick

This commit is contained in:
Pete Michaud 2013-09-21 21:41:06 -05:00
parent 36bd52713b
commit e65ac705b4
1 changed files with 1 additions and 1 deletions

View File

@ -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)