On 2024-02-11 at 15:14:55, Torsten Bögershausen wrote: > Thanks for reporting this - > I think that you have a working workaround ? > > However, Git has a feature called "shared repository". > You need to define a (unix) group that is shared between > your user(s) and the ansible user. > > The basic trick is to do > git config core.sharedRepository true > > (And then change the ownership of all files/directories to the new group) On Linux, you also should set each directory to be setgid. That's because by default, Linux uses the user's current group ID as the group to create new directories. However, you'll want the group to be inherited from the parent directory, which is the behaviour when the parent directory is setgid. This behaviour is the default on the BSDs, and no such configuration is required there. -- brian m. carlson (he/him or they/them) Toronto, Ontario, CA
Attachment:
signature.asc
Description: PGP signature