title: "Make install" fails in WSL2 (permission denied)
body: <p>I have set up my development environment in WSL2 on Windows 10 20H2.</p>
  <p>I have set up everything in the same way as on Linux Mint, that I am also using and there are no issues.</p>
  <p>On WSL2 I can get &quot;make&quot; command to work (sometimes it fails and shows some permission denied errors, but very often after restart succeeds). But I am not able to get the &quot;make install&quot; command working. It is always failing. The very first time I entered &quot;make install&quot; I got an error about failure to access tomcat directory (permission denied).</p>
  <p>Also, very often I get permission denied with &quot;git clean -fdx&quot;, but sometimes it succeeds :)</p>
  <p>Now I am getting the following errors:</p>
  <pre><code>$ make install
  installing git hooks
  cp: cannot create regular file '.git/hooks/DPAuthors.pm': Permission denied
  cp: cannot create regular file '.git/hooks/DPChecked.pm': Permission denied
  cp: cannot create regular file '.git/hooks/DPCommitHooks.pm': Permission denied
  cp: cannot create regular file '.git/hooks/DPUsers.pm': Permission denied
  make: *** [src/bios/script/Makefile:698: githooksinstall] Error 1
  </code></pre>
  <p>Any hints what could be the issue?</p>
  <p>EDIT: it worked now when logged in as root. So how can I fix the permissions to be able to use make without root?</p>