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

Re: Permission denied on home dir results in fatal error as of 1.8.1.1

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 9, 2013, 00:50 UTC
Message-ID
<7v6222xqc4.fsf@alter.siamese.dyndns.org>
In-Reply-To
<CAECnihxpvtE1XejzHDCRBF=GkyBHmb53WDLa16Suiq=4SeYzvA@mail.gmail.com>
Nick Muerdter <stuff@nickm.org> writes:
> As of git 1.8.1.1 and above (tested up to 1.8.1.3), if the home
> directory can't be accessed, it results in a fatal error. In git 1.8.1
> and below this same setup just resulted in warnings. Was this an
> intentional change?

I think this was done to not just help diagnosing misconfiguration, but to prevent an unintended misconfiguration from causing problems (e.g. the user thinks user.name is set up correctly, but forbids Git from reading it from the configuration files, and ends up creating commits under wrong names).

Somebody please correct me if this weren't the case...
Previous: Nick MuerdterNext: Jonathan Nieder
Message 2 of 4 in “Permission denied on home dir results in fatal error as of 1.8.1.1”
  1. Nick MuerdterFeb 9, 2013
  2. Junio C HamanoFeb 9, 2013
  3. Jonathan NiederFeb 9, 2013
  4. Nick MuerdterFeb 9, 2013

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.