Dnia środa, 26 sierpnia 2009 o 20:31:10 Daniel Baumann napisał(a):
> 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?

Default ones made by gitosis.

> 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.

Thats what I want to make - push via gitosis (due to quite simple way of 
managing permissions), r/w pull via gitosis, r/o pull via git-daemon.

I 'solved' that by running git-daemon-run as 'gitosis' user - otherwise 
git-daemon do not have access to gitosis repositories.

Regards, 
-- 
JID:      h...@jabber.org
Website:  http://marcin.juszkiewicz.com.pl/
LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to