0

を使用してbare sharedRepository、開発者のグループがプッシュできるようにしています。

プッシュ時に適切なファイル グループを維持するために、次の SGID を変更しましたobjects

$ sudo chmod -R g+s my_repository/objects

それが本当に正しい方法である場合、他のディレクトリ ( branchesrefs、 ...) の SGID を変更する必要がありますか?

4

1 に答える 1

1

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.

于 2013-01-07T15:11:52.387 に答える