kalamuna / kalastack

Local development environment for drupal
Other
43 stars 21 forks source link

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

Open tz-earl opened 10 years ago

tz-earl commented 10 years ago

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 commented 10 years ago

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

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

tz-earl commented 10 years ago

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

pirog commented 10 years ago

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

tz-earl commented 10 years ago

vagrant-hostsupdater issue: https://github.com/cogitatio/vagrant-hostsupdater/issues/11

valter-silva-au commented 9 years ago

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

pirog commented 9 years ago

good thoughts here.

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

vefaliahmet commented 9 years ago

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

prionkor commented 8 years ago

@vefaliahmet Thanks! That worked for me :) :+1: