{"thread":{"id":"21736","subject":"git init --bare --shared=group","startedAt":"2009-11-24T13:05:28Z","lastAt":"2009-11-24T13:25:57Z","messageCount":2,"participants":["Eric Schaefer","Johannes Schindelin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"128245","messageId":"34f8975d0911240505k4727fef2n8ef0efd3533aef1e@mail.gmail.com","threadId":"21736","inReplyTo":null,"subject":"git init --bare --shared=group","fromName":"Eric Schaefer","fromEmail":"eric.schaefer@ericschaefer.org","sentAt":"2009-11-24T13:05:28Z","receivedAt":"2009-11-24T13:05:28Z","isPatch":false,"sender":{"key":"eric.schaefer@ericschaefer.org","avatar":"https://gravatar.com/avatar/1a2639f5b7e8143f5569c2818ee363d9023c4b75cd0ddfb843b00a951a439c26?d=mp&s=160"},"body":"Hello List,\n\naccording to 'git help init' would --shared=group \"Make the repository\ngroup-writable\".\nI extracted a bare repo out of my local repo and scp'ed it to the\nserver. There I did a 'git init --bare --shared=group'. It created the\nbranches dir (there were no branches yet) and the config file and set\nthe correct permissions. But it did not do so with the existsing files\nand dirs. Is it suffient to 'chmod -R g+ws .' or is there anything\nelse to do to make the repo writeable for my group?\n\nThanks,\nEric\n"},{"id":"128246","messageId":"alpine.DEB.1.00.0911241424280.4758@intel-tinevez-2-302","threadId":"21736","inReplyTo":"34f8975d0911240505k4727fef2n8ef0efd3533aef1e@mail.gmail.com","subject":"Re: git init --bare --shared=group","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2009-11-24T13:25:57Z","receivedAt":"2009-11-24T13:25:57Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Tue, 24 Nov 2009, Eric Schaefer wrote:\n\n> according to 'git help init' would --shared=group \"Make the repository\n> group-writable\".\n> I extracted a bare repo out of my local repo and scp'ed it to the\n> server. There I did a 'git init --bare --shared=group'. It created the\n> branches dir (there were no branches yet) and the config file and set\n> the correct permissions. But it did not do so with the existsing files\n> and dirs. Is it suffient to 'chmod -R g+ws .' or is there anything\n> else to do to make the repo writeable for my group?\n\nThat should be enough, if all files and directories belong to the correct\ngroup.  Otherwise, you should 'chown -R .group .', too.\n\nCiao,\nDscho\n"}]}