Ver Fonte

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

vagrant: no chown when rsyncing
TW há 8 anos atrás
pai
commit
ca357a2b38
1 ficheiros alterados com 1 adições e 1 exclusões
  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