git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Bug report: latest (2.50.1) x64 version of Git for Windows

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 22, 2025, 09:47 UTC
Message-ID
<865894a2-ed71-5a03-a708-585cbb591ce7@gmx.de>
In-Reply-To
<CA+=FFpNPLEYsajBZqhxhnD3-642t=qQribO+oNDF5-3hhuxDnA@mail.gmail.com>
Hi James,
On Mon, 21 Jul 2025, James Gao wrote:
Show 6 quoted lines
> I just installed my system, and downloaded latest (2.50.1) x64 version
> of Git for Windows and installed it.
> 
> I am on Windows 11 Pro, 10.0.22631.
> Git CLI is not getting permission to the folders.
> For example, I cannot run git init - error: couldn't set 'HEAD'
Is this the full error message?
Show 8 quoted lines
> I cannot git pull or clone or git add
> 
> It returns me similar errors:
> error: unable to write file
> .git/objects/36/dd1796da4dcbb2f53005b64afeef698cfaf510: Permission
> denied
> error: src/helpers/schedule.ts: failed to insert into database
> error: unable to index file 'src/helpers/schedule.ts'
This suggests that you somehow have successfully created a clone... how?
> I tried running git bash as Administrator, still not working.

That is interesting, suggesting that the "Permission denied" error message is misleading and that the error is not actually due to missing write permissions.

Can you say more about your setup? Are you trying to clone onto a network drive, for example?

> I am planning to download older versions, but it would be great to get
> it fixed for lts.

I don't know what you mean with "for lts", but yes, it would be great to get it fixed.

By the way, before you download any older version, do make sure to try the latest snapshot from https://gitforwindows.org/git-snapshots/.

Ciao, Johannes

P.S.: I assume that https://github.com/git-for-windows/git/issues/5737 is also you?

Previous: brian m. carlsonNext: James Gao
Message 3 of 4 in “Bug report: latest (2.50.1) x64 version of Git for Windows”
  1. James GaoJul 21, 2025
  2. brian m. carlsonJul 22, 2025
  3. Johannes SchindelinJul 22, 2025
  4. James GaoJul 22, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.