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