guests/linux: one more time
This commit is contained in:
parent
3c02caf811
commit
ca00ad8257
|
@ -18,7 +18,7 @@ module VagrantPlugins
|
||||||
|
|
||||||
def self.rsync_post(machine, opts)
|
def self.rsync_post(machine, opts)
|
||||||
machine.communicate.tap do |comm|
|
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]}")
|
"xargs -0 -r chown -v #{opts[:owner]}:#{opts[:group]}")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue