All of lore.kernel.org
 help / color / mirror / Atom feed
* git init --bare --shared=group
@ 2009-11-24 13:05 Eric Schaefer
  2009-11-24 13:25 ` Johannes Schindelin
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Schaefer @ 2009-11-24 13:05 UTC (permalink / raw)
  To: Git Mailing List

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: git init --bare --shared=group
  2009-11-24 13:05 git init --bare --shared=group Eric Schaefer
@ 2009-11-24 13:25 ` Johannes Schindelin
  0 siblings, 0 replies; 2+ messages in thread
From: Johannes Schindelin @ 2009-11-24 13:25 UTC (permalink / raw)
  To: Eric Schaefer; +Cc: Git Mailing List

Hi,

On Tue, 24 Nov 2009, Eric Schaefer wrote:

> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-24 13:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-24 13:05 git init --bare --shared=group Eric Schaefer
2009-11-24 13:25 ` Johannes Schindelin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.