In your other question I suggested changing at least refs
. Based on the git repository layout documentation here I don't think just changing objects
and refs
is enough. You'll need to change this setting on any directory which contains a file that could be changed by a push.
git - shared repository sgid
-
13-01-2022 - |
Frage
I'm using a bare
sharedRepository
to allow a group of developers to push.
In order to keep the good file group on pushes, I changed SGID of objects
$ sudo chmod -R g+s my_repository/objects
If it really is the right way to do, should I change the SGID of any other directories (branches
, refs
, ...) ?
Lösung
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow