Hello

The error mean your user doesn't have access to update that file.

Couple of options.

1. don't use the plugin host updater.

vagrant plugin list
vagrant plugin uninstall <name>

2. Make sure your user without elevating privileges have access to read
write to:
C:/Windows/system32/drivers/etc/hosts

Let me know if this helps.

Thanks
Alvaro.


On Wed, Jan 6, 2016 at 8:59 AM, Patty O'Hara <[email protected]> wrote:

> Hello - Im trying to set up an enviroment on a Windows 10 host and am
> getting this error on vagrant up...
>
> /.vagrant.d/gems/gems/vagrant-hostsupdater-1.0.1/lib/vagrant-hostsupdater/HostsUpdater.rb:85:in
> `initialize': Permission denied @ rb_sysopen -
> C:/Windows/system32/drivers/etc/hosts (Errno::EACCES)
>
> I havent been able to find any solutions to this one. Any ideas?
>
> --
> 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/e4959953-9b3a-4d9a-8264-10aabc5a92fb%40googlegroups.com
> <https://groups.google.com/d/msgid/vagrant-up/e4959953-9b3a-4d9a-8264-10aabc5a92fb%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAHqq0ew%2BvPUH72x0KQxUBrwa%3Dy61quQWEdHRJfQneQebXuZ9UQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to