title: Git: fatal: could not set 'core.filemode' to 'true'
body: <p>When trying to clone a repository with a command like:</p>
  
  <pre><code>git clone ssh://myuserid@myhost/mypath/myrepo.git
  </code></pre>
  
  <p>I'm getting the following errors:</p>
  
  <blockquote>
    <p>Cloning into 'myrepo'...</p>
    
    <p>error: failed to write new configuration file /path/myrepo/.git/config.lock</p>
    
    <p>fatal: could not set 'core.filemode' to 'true'</p>
  </blockquote>
  
  <p>Any ideas what the problem could be?  A Google search yielded nothing.  </p>