Skip to content
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

Open
tz-earl opened this issue Jan 26, 2014 · 8 comments
Open

Windows 7 hosts file - need to change permissions for install #79

tz-earl opened this issue Jan 26, 2014 · 8 comments

Comments

@tz-earl
Copy link

tz-earl commented Jan 26, 2014

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).
@pirog
Copy link
Contributor

pirog commented Jan 26, 2014

This is great to know! Thank @tz-earl.

Have you considering posting an issue on https://github.com/cogitatio/vagrant-hostsupdater?

@tz-earl
Copy link
Author

tz-earl commented Jan 26, 2014

@pirog Thanks a lot for the suggestion. Have posted similar comment to an existing issue on https://github.com/cogitatio/vagrant-hostsupdater .

@pirog
Copy link
Contributor

pirog commented Feb 2, 2014

Awesome. Can you post the link to that issue here so people can be routed?

@tz-earl
Copy link
Author

tz-earl commented Feb 3, 2014

vagrant-hostsupdater issue: agiledivider/vagrant-hostsupdater#11

@valter-silva-au
Copy link

To me granting to everyone read and execute permissions into folder C:\Users\Valter.vagrant.d is what it works!

@pirog
Copy link
Contributor

pirog commented Oct 29, 2014

good thoughts here.

@valterhenrique, def be careful doing a blanket permissions reset there as it may have other unintended security implications.

@vefaliahmet
Copy link

open commant prompt as administrator on your directory than type vagrant up.

@prionkor
Copy link

@vefaliahmet Thanks! That worked for me :) 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants