severity 543723 wishlist tag 543723 moreinfo tag 543723 unreproducible thanks
Marcin Juszkiewicz wrote: > I wanted to create local git server for my uses. So I installed > 'gitosis' and 'git-daemon-run' packages. After configuring gitosis I > decided to make it possible to clone repository also by other users.> But > here goes problem - gitosis runs as 'gitosis:gitosis' but git-daemon > runs as 'gitdaemon:nogroup' so even when it is configured to check in > gitosis repositories it is not possible to clone such ones. then you did something wrong[tm]. what permissions are you using on the repositories? when you have both gitosis and git-daemon-run installed, it is indeed not possible (due to the fact that, by default, git-daemon and gitosis are not using the same user) to *push* through *both* gitosis and git. by default, in that situation, you do push through gitosis (ssh) only, and git-daemon becomes factually a read-only service. in my use cases[0], this is the desired situation and any other default behaviour would be very unpleasent. if you want to be able to push through git-daemon as well, this is a local admin decision, who can easily put the git user and the gitosis user into the same group, and make the repositories group writable. but that is not something that the gitosis package can/should do. -- Address: Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist Email: daniel.baum...@panthera-systems.net Internet: http://people.panthera-systems.net/~daniel-baumann/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org