title: Gitolite: adding user not working, and DENIED by fallthru when cloning as root?
body: <p>I've managed to init an empty git repo on my NAS, and I attempted to add a new user by generating a new public key "foo.pub" and copying + pasting it into keydir/ and committing that and pushing it onto the NAS.</p>
  
  <p><strong>First, the files:</strong></p>
  
  <p>Here is my ~/.ssh/config file:</p>
  
  <pre><code>Host root
      HostName iptonas
      User root
      Port 123        
  
  Host foo
      HostName iptonas
      User foo
      Port 123
      identityfile ~/.ssh/foo
  </code></pre>
  
  <p>Grabbed a copy of gitolite-admin from NAS:</p>
  
  <pre><code>git clone ssh://root/gitolite-admin
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>Cloning into 'gitolite-admin'...
  remote: Counting objects: 12, done.
  remote: Compressing objects: 100% (9/9), done.
  remote: Total 12 (delta 1), reused 0 (delta 0)
  Receiving objects: 100% (12/12), done.
  Resolving deltas: 100% (1/1), done.
  </code></pre>
  
  <p>Here is my gitolite.conf file:</p>
  
  <pre><code>repo gitolite-admin
      RW+     =   git
  
  repo testing
      RW+     =   @all
  
  repo newrepo
      RW+     =   foo
      RW+     =   bar
  </code></pre>
  
  <p>When I pushed my copy of gitolite-admin using:</p>
  
  <pre><code>git push root:gitolite-admin
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>Counting objects: 10, done.
  Delta compression using up to 8 threads.
  Compressing objects: 100% (5/5), done.
  Writing objects: 100% (6/6), 1.02 KiB, done.
  Total 6 (delta 0), reused 0 (delta 0)
  remote: Initialized empty Git repository in /root/repositories/newrepo.git/
  To root:gitolite-admin
     897113c..e7e2daf  master -&gt; master
  </code></pre>
  
  <p><strong>Now, when I try to push to the new repo</strong></p>
  
  <p>When I try to run:</p>
  
  <pre><code>git clone foo:newrepo
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>Cloning into 'newrepo'...
  foo@iptonas's password: 
  fatal: 'newrepo' does not appear to be a git repository
  fatal: The remote end hung up unexpectedly
  </code></pre>
  
  <p>When I try to run:</p>
  
  <pre><code>git clone root:newrepo
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>Cloning into 'newrepo'...
  FATAL: R any newrepo git DENIED by fallthru
  (or you mis-spelled the reponame)
  fatal: The remote end hung up unexpectedly
  </code></pre>
  
  <p>I'm not sure what I'm doing wrong?</p>
  
  <p>I am following these instructions:
  <a href="http://www.nineproductions.com/linux/53-gitolite-hosting.html" rel="noreferrer">http://www.nineproductions.com/linux/53-gitolite-hosting.html</a>
  Under "Adding Repositories and Users"</p>