guests/linux: one more time

This commit is contained in:
Mitchell Hashimoto 2014-03-13 09:48:53 -07:00
parent 3c02caf811
commit ca00ad8257
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ module VagrantPlugins
def self.rsync_post(machine, opts)
machine.communicate.tap do |comm|
comm.sudo("find '#{opts[:guestpath]}' ! -user #{username} -print0 | " +
comm.sudo("find '#{opts[:guestpath]}' ! -user #{opts[:owner]} -print0 | " +
"xargs -0 -r chown -v #{opts[:owner]}:#{opts[:group]}")
end
end