Resolved Error for Vagrant
I made a mistake when I ran "sudo vagrant up", and now whenever I run a "tramp" it gives me the following error.
==> default: Running cleanup tasks for 'chef_solo' provisioner... /opt/vagrant/embedded/gems/gems/vagrant-1.7.1/lib/vagrant/environment.rb:492:in `initialize': P Permission denied - /Users/mkv/.vagrant.d/data/lock.fpcollision.lock (Errno::EACCES) I tried to delete the .vagrant folder as well as the Cheffile, but always get the same error.
What can I do to sort this?
The problem is related to the resolution that you accidentally launch the application using root.
Follow these steps:
Remove
/Users/mkv/.vagrant.d/data/lock.fpcollision.lockand runvagrant upagain.Find files belonging to root in the / Users / mkv section, include hidden files. if it is found, change it back to your user account. You can run the command below to find files owned by root
find / Users / mkv -type f -user root -print