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

Re: use git-daemon by git://IP/path?

From
Jeff King <peff@peff.net>
Date
Jun 12, 2009, 14:16 UTC
Message-ID
<20090612141602.GB14628@coredump.intra.peff.net>
In-Reply-To
<4A325E00.6050504@dirk.my1.cc>
On Fri, Jun 12, 2009 at 03:54:08PM +0200, Dirk Süsserott wrote:
>> Also, in general, how can it be set up, that >1 people have a write 
>> access to the same repository? Only by using the same login? 
>
> Have a look at the "--shared" option of "git init". That's supposed to  

I have also had good experiences with POSIX ACLs for sharing repositories:

  setfacl -R -m d:u:$user:rwX -m u:$user:rwX /path/to/repo

which gets rid of dealing with group management. Of course your filesystem has to support them. :)

-Peff
Previous: Dirk SüsserottNext: Dirk Süsserott
Message 3 of 6 in “use git-daemon by git://IP/path?”
  1. Kārlis RepsonsJun 12, 2009
  2. Dirk SüsserottJun 12, 2009
  3. Jeff KingJun 12, 2009
  4. Dirk SüsserottJun 12, 2009
  5. Kārlis RepsonsJun 12, 2009
  6. Pau Garcia i QuilesJun 12, 2009

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.