diff --git a/plugins/synced_folders/rsync/default_unix_cap.rb b/plugins/synced_folders/rsync/default_unix_cap.rb index dcf4b5a34..1f4d286f7 100644 --- a/plugins/synced_folders/rsync/default_unix_cap.rb +++ b/plugins/synced_folders/rsync/default_unix_cap.rb @@ -38,7 +38,7 @@ module VagrantPlugins "find #{guest_path} #{exclusions}" \ "'!' -type l -a " \ "'(' ! -user #{opts[:owner]} -or ! -group #{opts[:group]} ')' -exec " \ - "chown #{opts[:owner]}:#{opts[:group]} '{}' +" + "chown #{opts[:owner]}:#{opts[:group]} '{}' + || :" end end end