Преглед изворни кода

Merge pull request #1736 from ThomasWaldmann/vagrant-rsync-no-chown

vagrant: no chown when rsyncing
TW пре 8 година
родитељ
комит
ca357a2b38
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Vagrantfile

+ 1 - 1
Vagrantfile

@@ -301,7 +301,7 @@ end
 
 Vagrant.configure(2) do |config|
   # use rsync to copy content to the folder
-  config.vm.synced_folder ".", "/vagrant/borg/borg", :type => "rsync", :rsync__args => ["--verbose", "--archive", "--delete", "-z"]
+  config.vm.synced_folder ".", "/vagrant/borg/borg", :type => "rsync", :rsync__args => ["--verbose", "--archive", "--delete", "-z"], :rsync__chown => false
   # do not let the VM access . on the host machine via the default shared folder!
   config.vm.synced_folder ".", "/vagrant", disabled: true