From: Jonathan Nieder Date: Tue, 04 Jan 2011 03:09:15 GMT Subject: Re: git-daemon serving repos with repo.git/git-daemon-export-ok Message-ID: <20110104030915.GA24324@burratino> In-Reply-To: <4D227ED7.9010407@ecosensory.com> John Griessen wrote: > On 01/03/2011 05:55 PM, Jonathan Nieder wrote: >>> drwxr-xr-x 7 gitosis gitosis 4096 Dec 30 12:32 extrudator.data.git >> >> So the gitdaemon user (used by git-daemon-run) wouldn't be able to >> access them. > > It would be able, since I used > sudo strace -o strace.out /usr/lib/git-core/git-daemon --verbose > --strict-paths --user=git --group=gitosis /srv/gitosis/repositories Also because the repositories are world readable. I don't know what I was thinking; I should get some sleep. Thanks again for reporting and good luck. Jonathan