devopsgroup-io / vagrant-hostmanager

:pencil: A Vagrant plugin that manages hosts files within a multi-machine environment.
Mozilla Public License 2.0
1.46k stars 147 forks source link

vagrant up fails with permission denied on file .vagrant.d/tmp/hosts.local #175

Open maxoys45 opened 8 years ago

maxoys45 commented 8 years ago

Windows 7 Vagrant 1.8.1 Vagrant Host Manager 1.7.0

Attempting to vagrant up for the first time on Windows 7 (works fine on my Mac) - fails with a permission denied error: http://pastebin.com/54aB76YM (Line 42 onwards)

Not sure if it's an issue with /etc/hosts or the hosts.local file. Apologies if this is not the normal way to post an issue, i'm just the front-end guy getting lost with vagrant :)

seth-reeser commented 8 years ago

The pastebin is no longer, can you please attach directly here, please?

maxoys45 commented 8 years ago

Ah sorry about that, attached! vagrant.txt

seth-reeser commented 8 years ago

Can you please see what the permissions of the C:/Users/Max/.vagrant.d/tmp/hosts.local file is?

maxoys45 commented 8 years ago

Hey - I'd already set the permissions for everyone, admin, system to all for that file and all parent folders with no luck. thanks though!

seth-reeser commented 8 years ago

Try running del /f C:/Users/Max/.vagrant.d/plugins.json and rmdir /s /q C:/Users/Max/.vagrant.d/gems. Then re-install vagrant-hostmanager with an administrator command prompt.

maxoys45 commented 8 years ago

nope, same error. agh this is driving me insane! thanks for continuing to try and help me :)