Merge pull request #2253 from PeteMichaud/backtick

guests/linux: fixed missing backtick in mount
This commit is contained in:
Mitchell Hashimoto 2013-09-22 12:12:22 -07:00
commit cc5ca1a3c3
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)