title: Git add permission denied ubuntu
body: <p>My application is hosted on ubuntu in public_html folder. When I run the command <code>git add .</code> it gives me the error:</p>
  
  <pre><code>warning: could not open directory 'public_html/': Permission denied
  </code></pre>
  
  <p>Entire code is in <code>public_html</code> folder</p>
  
  <p>How can I solve it?</p>