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

Confusing behavior from "config: honor file permission bits"

From
Antonio Russo <aerusso@aerusso.net>
Date
Dec 2, 2026, 06:46 UTC
Message-ID
<88e86072-779f-4ae9-a7ca-cd8dd5bc21ce@aerusso.net>
Hello,

116a417a61 introduced a permission check that claims to honor file permissions. However, the permission bits are not actually checked; instead access(2) is used, which gives a materially different answer for, e.g., the root user. In particular, t1300 fails if you try to run the tests as root. This may be frustrating for people packaging git (maybe they build it as root on a VM, or with fakeroot, for example).

Best, Antonio Russo

Message 1 of 1 in “Confusing behavior from "config: honor file permission bits"”
  1. Antonio RussoDec 2, 2026

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.