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

Re: git init --bare --shared=group

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Nov 24, 2009, 13:25 UTC
Message-ID
<alpine.DEB.1.00.0911241424280.4758@intel-tinevez-2-302>
In-Reply-To
<34f8975d0911240505k4727fef2n8ef0efd3533aef1e@mail.gmail.com>
Hi,
On Tue, 24 Nov 2009, Eric Schaefer wrote:
Show 8 quoted lines
> 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?

That should be enough, if all files and directories belong to the correct group. Otherwise, you should 'chown -R .group .', too.

Ciao, Dscho

Previous: Eric Schaefer
Message 2 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.