title: Using Git without Sudo in many accounts
body: <p><strong>How can you use Git without Sudo in multiple accounts in one Ubuntu?</strong></p>
  
  <p>My Ubuntu has many accounts.
  The creation of new accounts has made Git inaccessible by me without sudo.</p>
  
  <p>I changed the owner to be me, masi, and the group to be <code>admin</code> where the <em>masi</em> belongs to.
  I have the following permissions for Git</p>
  
  <pre><code>800 -rwxrwxrwx 1 masi admin 813744 2009-02-20 23:01 /usr/bin/git
  </code></pre>
  
  <p>I get the following message in trying to use Git</p>
  
  <pre><code>git status
  fatal: unable to create '.git/index.lock': Permission denied
  </code></pre>
  
  <p>I run <code>find . -iregex ".*index.l.*</code> which returns no matches so  there seems to be no index.lock in locking the system. I run the same command also with sudo unsuccessfully.</p>