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

Re: Strange permission problem - advice needed

From
Johannes Sixt <j.sixt@viscovery.net>
Date
Apr 28, 2010, 12:30 UTC
Message-ID
<4BD82A6A.7080502@viscovery.net>
In-Reply-To
<4BD8185B.5060706@ianhobson.co.uk>
Am 4/28/2010 13:13, schrieb Ian Hobson:
> I'm using git on windows (XP) ...
Show 14 quoted lines
> $ git gc
> Counting objects: 398, done.
> Compressing objects: 100% (205/205), done.
> Writing objects: 100% (398/398), done.
> Total 398 (delta 191), reused 398 (delta 191)
> rm: cannot unlink `pack-6f07bacdef764f32f12af14877b307d2cb36a1e4.pack':
> Permission denied
> rm: cannot unlink `pack-6f07bacdef764f32f12af14877b307d2cb36a1e4.idx':
> Permission denied
> rm: cannot unlink `pack-cba55771937a4549af73c09c17b10cfceb1320df.pack':
> Permission denied
> rm: cannot unlink `pack-cba55771937a4549af73c09c17b10cfceb1320df.idx':
> Permission denied
> Removing duplicate objects: 100% (256/256), done.

Chances are that you have a hung git process that has the files open. Kill it and retry.

-- Hannes
Previous: Ian HobsonNext: Ian Hobson
Message 2 of 3 in “Strange permission problem - advice needed”
  1. Ian HobsonApr 28, 2010
  2. Johannes SixtApr 28, 2010
  3. Ian HobsonApr 28, 2010

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.