-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows 7 hosts file - need to change permissions for install #79
Comments
This is great to know! Thank @tz-earl. Have you considering posting an issue on https://github.com/cogitatio/vagrant-hostsupdater? |
@pirog Thanks a lot for the suggestion. Have posted similar comment to an existing issue on https://github.com/cogitatio/vagrant-hostsupdater . |
Awesome. Can you post the link to that issue here so people can be routed? |
vagrant-hostsupdater issue: agiledivider/vagrant-hostsupdater#11 |
To me granting to everyone read and execute permissions into folder C:\Users\Valter.vagrant.d is what it works! |
good thoughts here. @valterhenrique, def be careful doing a blanket permissions reset there as it may have other unintended security implications. |
open commant prompt as administrator on your directory than type vagrant up. |
@vefaliahmet Thanks! That worked for me :) 👍 |
This is just a note for anyone who might be trying to use kalastack on a Windows system.
“vagrant up” command fails with error “HostsUpdater.rb:82:in `initialize': Permission denied - C:/Windows/system32/drivers/etc/hosts (Errno::EACCES)”.
After manually giving “Full control” permissions to all users, the command ran to completion.
However, leaving the permissions like this might be a security hole for malware, so you might want to change them back to “Read; Read & Execute” only for all users.
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/3956086-windows-7-hosts-file-need-to-change-permissions-for-install?utm_campaign=plugin&utm_content=tracker%2F235881&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F235881&utm_medium=issues&utm_source=github).The text was updated successfully, but these errors were encountered: