{"thread":{"id":"66971","subject":"Confusing behavior from \"config: honor file permission bits\"","startedAt":"2026-12-02T06:46:38Z","lastAt":"2026-12-02T06:46:38Z","messageCount":1,"participants":["Antonio Russo"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"559850","messageId":"88e86072-779f-4ae9-a7ca-cd8dd5bc21ce@aerusso.net","threadId":"66971","inReplyTo":null,"subject":"Confusing behavior from \"config: honor file permission bits\"","fromName":"Antonio Russo","fromEmail":"aerusso@aerusso.net","sentAt":"2026-12-02T06:46:38Z","receivedAt":"2026-12-02T06:46:38Z","isPatch":false,"sender":{"key":"aerusso@aerusso.net","avatar":"https://avatars.githubusercontent.com/u/6502699?v=4"},"body":"Hello,\n\n116a417a61 introduced a permission check that claims to honor file\npermissions.  However, the permission bits are not actually checked;\ninstead access(2) is used, which gives a materially different answer\nfor, e.g., the root user.   In particular, t1300 fails if you try to\nrun the tests as root.  This may be frustrating for people packaging\ngit (maybe they build it as root on a VM, or with fakeroot, for\nexample).\n\nBest,\nAntonio Russo\n\n"}]}