From 2a973df4401e1dc2d07c778080306582e48baab1 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 9 May 2014 09:31:31 -0700 Subject: [PATCH] synced_folders/rsync: copy symlinks as real files [GH-3734] --- CHANGELOG.md | 1 + plugins/synced_folders/rsync/helper.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d3c906ecf..600487128 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ BUG FIXES: - providers/docker: fix container linking [GH-3719] - providers/docker: Port settings expose to host properly. [GH-3723] - provisioners/puppet: Separate module paths with ';' on Windows. [GH-3731] + - synced\_folders\rsync: Copy symlinks as real files. [GH-3734] ## 1.6.1 (May 7, 2014) diff --git a/plugins/synced_folders/rsync/helper.rb b/plugins/synced_folders/rsync/helper.rb index 9ce6b7549..28bddc813 100644 --- a/plugins/synced_folders/rsync/helper.rb +++ b/plugins/synced_folders/rsync/helper.rb @@ -78,7 +78,7 @@ module VagrantPlugins # Get the command-line arguments args = nil args = Array(opts[:args]) if opts[:args] - args ||= ["--verbose", "--archive", "--delete", "-z"] + args ||= ["--verbose", "--archive", "--delete", "-z", "--copy-links"] # On Windows, we have to set a default chmod flag to avoid permission issues if Vagrant::Util::Platform.windows? && !args.any? { |arg| arg.start_with?("--chmod=") }