title: How can I make my local Git repository accessible for multiple users?
body: <p>I want to create a git repository and allow all users to have access to it. I tried initializing it by:</p>
  
  <pre><code>git init --shared=all 
  </code></pre>
  
  <p>However when I change the user and do a <code>git status</code>, I get the following error:</p>
  
  <pre><code>fatal: Unable to create '.git/index.lock': Permission denied
  </code></pre>
  
  <p>Is this supposed to happen? I access the repo on my local file-system and not via SSH.</p>