My guess is, the Vagrant VM, requires the user "vagrant" to own the files 
contained within the synced_folder.
When you startup your VM, and run your script to "git clone", vagrant is
trying to clone to a shared directory (which it doesn't have permission to 
write to).

Rsync suggests that files are rsynced to the folder (through vagrant) and 
the result is the files are owned by "vagrant".

Who owns the directory and files when you don't use "rsync"?

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/c4a771e7-031d-495b-a24c-a3810478cd35%40googlegroups.com.

Reply via email to