title: git clone "does not appear to be a git repository"
body: <p>I get an error when I try to clone a remote git that is outside HOME of the git user.</p>
  
  <pre><code>Cloning into test...
  fatal: '/media/raid/repo/test.git' does not appear to be a git repository
  fatal: The remote end hung up unexpectedly
  </code></pre>
  
  <p>I'm not sure why I get this error, what I trying to do is to move the git to a another disk.
  At the moment the git resides in my git users HOME and I have no problem to clone from that git when it resides in users space. I have tried to access the other disk with softlinks and directly by mount path but it's no success.</p>
  
  <p>Running Ubuntu 12.04 on the git server, the git user have ssh access.</p>
  
  <p>Here are some basic tests, on my raid disk I have a copy if test.git.</p>
  
  <pre><code>/home/git [git user's home]
  lrwxrwxrwx 1 git  git    11 Jan  8 21:22 tst.git -&gt; test.git//
  drwxr-xr-x 7 git  git  4096 Jan  8 21:20 test.git/
  lrwxrwxrwx 1 git  git    18 Jan  7 06:48 repo -&gt; /media/raid/repo//
  
  /media/raid/repo [The preferred location]
  drwxrwxr-x  7 git     git     4096 Jan  4 10:33 test.git/
  
  OK  - git clone gitserver:/home/git/test.git
  OK  - git clone gitserver:/home/git/tst.git
  NOK - git clone gitserver:/home/git/repo/test.git
  NOK - git clone gitserver:/media/raid/repo/test.git
  </code></pre>
  
  <p>Is this some basic Linux security that I missing or is this a git problem?</p>