git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-daemon serving repos with repo.git/git-daemon-export-ok

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Jan 4, 2011, 03:09 UTC
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:
Show 8 quoted lines
>>> 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
Previous: Jonathan Nieder
Message 8 of 8 in “git-daemon serving repos with repo.git/git-daemon-export-ok”
  1. John GriessenJan 3, 2011
  2. John GriessenJan 3, 2011
  3. Jonathan NiederJan 3, 2011
  4. John GriessenJan 3, 2011
  5. Jonathan NiederJan 3, 2011
  6. John GriessenJan 4, 2011
  7. Jonathan NiederJan 4, 2011
  8. Jonathan NiederJan 4, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.