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

Re: Versioning configuration files on a server: fatal: Unable to create '//etc/.git/index.lock': No such file or directory

From
Matthijs Kooijman <matthijs@stdin.nl>
Date
Nov 24, 2010, 08:50 UTC
Message-ID
<20101124085030.GB22067@login.drsnuggles.stderr.nl>
In-Reply-To
<AANLkTim_sPyVGK3XWEVseseRzcmNM-YS=aFSWZeBiB7n@mail.gmail.com>
Hi folks,
On Wed, Nov 24, 2010 at 03:45:43PM +0700, Nguyen Thai Ngoc Duy wrote:
Show 7 quoted lines
> On Wed, Nov 24, 2010 at 3:01 PM, Ilyas -- <umask00@gmail.com> wrote:
> > The patch bellow for problem 'Versioning configuration files on a
> > server: fatal: Unable to create '//etc/.git/index.lock': No such file
> > or directory' works fine on FreeBSD/Linux.
> > Please fix this problem in upstream.
> 
> I also have another patch to fix this [1]. Hopefully Junio will pick it up soon.

The patch sent by Ilyas is mine and it was just a quick hack. Please use the patch sent later by Nguyen instead, it solves the problem properly:

> [1] http://article.gmane.org/gmane.comp.version-control.git/161825
Previous: Nguyen Thai Ngoc DuyNext: Ilyas --
Message 3 of 4 in “Versioning configuration files on a server: fatal: Unable to create '//etc/.git/index.lock': No such file or directory”
  1. Ilyas --Nov 24, 2010
  2. Nguyen Thai Ngoc DuyNov 24, 2010
  3. Matthijs KooijmanNov 24, 2010
  4. Ilyas --Nov 24, 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.