I'm running Cygwin (updated), Vagrant (latest) & VirtualBox on Windows 10. Vagrant up on a Windows command shell works just fine. When I do the same thing in a Cygwin terminal I get the error below.
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'ubuntu/xenial64' is up to date...
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/util/platform.rb:164:in `open': Permission denied @ dir_initialize - C:/Documents and Settings (Errno::EACCES)
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/util/platform.rb:164:in `entries'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/util/platform.rb:164:in `block in fs_real_path'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/util/platform.rb:163:in `each'
If I run the Cygwin terminal as administrator the error doesn't come. However when I try to access the box I get an error that the key isn't found I guess Vagrant is using a wrong path with Cygwin but not natively in Windows.
D069683@WDFN34201151A ~/Projects/Ubuntu
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'ubuntu/xenial64' is up to date...
==> default: Configuring proxy for Apt...
==> default: Configuring proxy environment variables...
==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> default: flag to force provisioning. Provisioners marked to run always will still run.
D069683@WDFN34201151A ~/Projects/Ubuntu
$ vagrant ssh
Warning: Identity file C:/Documents not accessible: No such file or directory.
Any ideas what I should do?