-
Notifications
You must be signed in to change notification settings - Fork 848
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
vagrant up (hostsupdater) fails with permission denied on /etc/hosts #812
Comments
I've worked around this in the meantime by adding myself to the wheel group and then making Not ideal but works for now! |
I'm having the same problem. Are there more people having this problem? So the suggested workaround is the only fix for now? |
same issue. see: agiledivider/vagrant-hostsupdater#92 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Obviously this isn't a universal problem, but on my machine, running
vagrant up
(as part of the 'getting started' instructions in the readme) fails with the following message:/Users/shankie/.vagrant.d/gems/gems/vagrant-hostsupdater-1.0.1/lib/vagrant-hostsupdater/HostsUpdater.rb:85:in 'initialize': Permission denied @ rb_sysopen - /etc/hosts (Errno::EACCES)
I've managed to work around it for now by:
sudo chmod o+w /etc/hosts
... but this seems like a Bad Idea!
Any thoughts anyone?
The text was updated successfully, but these errors were encountered: