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

git init --bare --shared=group

From
Eric Schaefer <eric.schaefer@ericschaefer.org>
Date
Nov 24, 2009, 13:05 UTC
Message-ID
<34f8975d0911240505k4727fef2n8ef0efd3533aef1e@mail.gmail.com>
Hello List,

according to 'git help init' would --shared=group "Make the repository group-writable". I extracted a bare repo out of my local repo and scp'ed it to the server. There I did a 'git init --bare --shared=group'. It created the branches dir (there were no branches yet) and the config file and set the correct permissions. But it did not do so with the existsing files and dirs. Is it suffient to 'chmod -R g+ws .' or is there anything else to do to make the repo writeable for my group?

Thanks, Eric

Next: Johannes Schindelin
Message 1 of 2 in “git init --bare --shared=group”
  1. Eric SchaeferNov 24, 2009
  2. Johannes SchindelinNov 24, 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.