-
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 fails `initialize': Permission denied #362
Comments
I just reinstalled my entire operating system. Hopefully that'll fix it. UPDATE: Upon further investigation my problems were not anything to do with VVV, it was Vagrant 1.6.x it's not really stable yet. It doesn't properly support vagrant-hostsupdater or any other plugin that relies on nokogiri. For more: |
Thanks for the notes @colinsteinmann! Vagrant 1.6.x has been a bit troublesome. I'm hoping that gets cleaned up shortly as there is some great stuff in it. |
There is a good workaround mentioned by @fredngo in the hashicorp/vagrant#3769 thread. That said I'm sticking to 1.5.4 till this is sorted out proper. |
Same problem in newest vagrant version 1.7.0 👎 |
I have the same issue, this did the trick for me: |
vagrant 1.7.2 - same issue |
sudo chmod -R /home/user_name/.vagrant.d it helps for me |
Don't do the sudo trick on your Mac or Linux build. Something's permissions On Wed, Jan 14, 2015 at 2:41 PM, Anton Iliyn [email protected]
-Doug |
Had the same problem with the latest version of Vagrant: opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:492:in `initialize': Permission denied - /Users/svenhaveman/.vagrant.d/data/lock.fpcollision.lock (Errno::EACCES) I fixed this by changing the ownership of the file: chown svenhaveman:staff ~/.vagrant.d/data/lock.fpcollision.lock Don't sudo anything, this will lead to other errors. |
@svenhaveman fix worked for me- and I was running into it while getting VIP Quickstart set up |
Same problem and I've tried various different installs hoping one was more stable. I've tried @svenhaveman fix but no luck either :( |
@svenhaveman works for me too. I've got problems with id_rsa and private_keys files. Vagrant 1.7.2 |
I am not really informed when it comes to the progress of the vagrant development but there was one change that gave me some problems. "Normally" all vagrants were using the ssh keys from the |
This happened to me because I ran "vagrant up" with one user (user1 or root), then tried to run it with another (user2). When you attempt to vagrant up with user2, it can't access /Users/colin/.vagrant.d/data/lock.fpcollision.lock which is now owned by user1. It is maybe best to always run vagrant with the same user. |
I always only use one user. I'm the only user on this computer. On Thu, May 28, 2015 at 7:01 AM, Albert Albala [email protected]
|
@lizkaraffa probably 99% of us have the same configuration as you. Can you check what the owner and permissions are from the /Users/lizkaraffa/.vagrant.d/data/lock.fpcollision.lock file? |
@svenhaveman here's a screenshot of my permissions. Please let me know if On Fri, May 29, 2015 at 12:30 AM, svenhaveman [email protected]
|
I'm not seeing anything :). Can you upload the screenshot again? |
@svenhaveman Sure here's a link to the screenshot: https://flic.kr/p/tYHfYf Let me know if I grabbed the right thing! :) |
This should be fine. You could try chmod'ing it to 755, but i would guess it doesn't make a difference. Maybe you have an other problem. |
Yeah I just resorted back to a much older version and it works for me.
|
I had the same problem on OSX Yosemite today. @svenhaveman's tip saved the day. |
Windows 10, same problem, but there is no fpcollision file! |
Thanks @svenhaveman - worked for me |
In my case on Windows 10 i was looking in error that was in cmder. there was permission denied for C:/Users/Alex/.vagrant.d/tmp/hosts.local, i checked with |
I am facing the same problem trying to install vagrant the last few days, no luck
My Configuration : Your support is appreciate it! |
I had this issue by running sudo vagrant up on Mac and afterwards trying to run it without sudo (which, of course is the preferred way). Simply rm -rf .vagrant* did the trick for me without any negative consequences. |
The solution posted by brianupload worked for me as well on Mac, Vagrant 2.6 and Virtual Box. |
TLDR: Never use |
I keep getting some sort of permission denied error, apparently related to Ruby:
It's completely torpedoed my efforts to get grunt running. I already tried
Made no difference...
Help!?
The text was updated successfully, but these errors were encountered: