1

I'm trying to install varying-vagrant-vagrants (vvv).
When I enter the git command:

$ git clone git://github.com/Varying-Vagrant-Vagrants/VVV.git vagrant-local

I get

fatal: could not create work tree dir 'vagrant-local': Permission denied

I tried going in the security settings for my user folder and setting permissions for everyone. Help?

Mifeet
  • 12,949
  • 5
  • 60
  • 108
Jordan Carter
  • 1,276
  • 3
  • 19
  • 43
  • Where did you try to clone the repository? Try cloning it in a drive other than the c:\ drive – Aswin P J Apr 30 '16 at 19:53
  • I only have one drive, which is C. I believe it's trying to clone into c//users/jordan – Jordan Carter Apr 30 '16 at 20:06
  • Open Explorer. Move to the directory that you wish to clone to. Then Open a command prompt in the current directory as an administrator and try again. – Aswin P J Apr 30 '16 at 20:07

1 Answers1

1

First, no need to use the git:// protocol: http(s) works just fine;

git clone https://github.com/Varying-Vagrant-Vagrants/VVV.git vagrant-local

Second, you will be creating vagrant-local in the current folder you are in, so make sure to do first:

cd %USERPROFILE%

Ne need for a git bash here, but should you be in a git bash, that would be:

cd /c/Users/jordan

Once the clone has succeeded, any vagrant error can be resolved with the "A VirtualBox machine with the name '...' already exists" question.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • Ok, I tried this, but got "A VirtualBox machine with the name 'vagrant-local' already exists. Please use another name or delete the machine with the existing name, and try again." The odd thing is I did delete this folder before trying to do this. This occured when I tried the vagrant up command within the folder. – Jordan Carter Apr 30 '16 at 20:16
  • @JordanCarter This no longer a git clone issue then? Meaning, the git clone did succeed, right? – VonC Apr 30 '16 at 20:18
  • @JordanCarter I have added a link in the answer to address the vagrant error message you mention. – VonC Apr 30 '16 at 20:20