On Wed, Nov 02, 2022 at 04:41:15PM -0700, John Soo wrote: > Hi brian! > > > 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? It is by design. See 8959555cee7 (setup_git_directory(): add an owner check for the top-level directory, 2022-03-02) for details. Thanks, Taylor