Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

RSync folder synchonization on Windows isn't compatible with MSYS-port of RSync #3804

Closed
wants to merge 1 commit into from

Conversation

mkuzmin
Copy link
Contributor

@mkuzmin mkuzmin commented May 15, 2014

If MSYS port of RSync tool is used on Windows for folder synchronization, it fails with error

rsync: change_dir "/cygdrive/c/Users/michael.kuzmin/Projects/vagrant" failed: Bad file number (9)

This is because MSYS expects file paths in form of /c/Users/michael.kuzmin/Projects/vagrant, without leading /cygdrive part.

The pull request adds additional check for this case.

Also it would be great if you reopen #3236 and bundle rsync and openssh right in Vagrant installer.
That would significantly simplify Vagrant adoption by developers in our company.

@mitchellh
Copy link
Contributor

Thanks! I fixed this a bit deeper in the core that should help.

@mitchellh mitchellh closed this May 17, 2014
@mkuzmin
Copy link
Contributor Author

mkuzmin commented May 18, 2014

Thanks!
I've tested your change, and it it works fine.

Additionally I had to fix vagrant-vsphere plugin, as it doesn't reuse this code from Vagrant core yet.
Probably your AWS plugin requires a simillar change.

@mkuzmin mkuzmin deleted the msys-rsync branch September 3, 2014 07:00
@ghost ghost locked and limited conversation to collaborators Apr 10, 2020
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants