News for hackers. Stuff that matters.
Re:Git security vulnerability announced by 3np on Tuesday April 12, 2022 @10:36PM (#31010625)
Yeah, it does seem to be very limiting. The previous behavior of allowing it can be configured by safe.directory[0].

In lack of CI I still tend to do builds in a container from a separate local user with read-only permissions. I wish they'd add an option to allow it when the user is in the owner group, which could be a decent compromise.

[0]: https://git-scm.com/docs/git-config/2.35.2#Documentation/git...

Re:Git security vulnerability announced by db48x on Tuesday April 12, 2022 @11:09PM (#31010796)
I kindof agree with you, but if you go to a university lab then you will likely find that all the students are all in the same groups. You don’t really want to blindly trust the group that way.
Re:Git security vulnerability announced by 3np on Tuesday April 12, 2022 @11:12PM (#31010819)
Oh yeah, in such an environment that would not make sense. I'm saying it should be a (local/global) config option, not enabled by default.

EDIT: Or maybe even more general, trustedOwnerUsers / trustedOwnerGroups

Re:Git security vulnerability announced by db48x on Tuesday April 12, 2022 @11:36PM (#31010946)
That’s a good idea; you should implement it and send them a patch.