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

Re: safe.directory and ACLs

From
JSJohn Soo <johh.soo@arista.com>
Date
Nov 2, 2022, 23:41 UTC
Message-ID
<CAJyRyRqMPX93-Oa5XMvZtDTRxh0SisUhOFAWhv-6hXR5sEkQpA@mail.gmail.com>
In-Reply-To
<Y2LgzmTvElmRTsoe@tapette.crustytoothpaste.net>
Hi brian!
Show 7 quoted lines
> No, the permissions of a repository, whether standard Unix permissions
> or ACLs, are not relevant to ownership.  The question here is whether
> the owner of the .git directory (that is, the value of the `st_uid`
> field when calling lstat(2) on it) is equal to the effective user ID.
>
> When you the path in `ls`, you can see the owner and group of the file
> specified, and that owner is what matters here.
I see. Is that by design or an implementation detail?
Kindly,
John
Previous: brian m. carlsonNext: Taylor Blau
Message 3 of 5 in “safe.directory and ACLs”
  1. John SooNov 2, 2022
  2. brian m. carlsonNov 2, 2022
  3. John SooNov 2, 2022
  4. Taylor BlauNov 3, 2022
  5. John SooNov 3, 2022

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.