Re: get git not to care about permissions
- From
- Matt Schoen <mtschoen@gmail.com>
- Date
- Nov 12, 2009, 15:44 UTC
- Message-ID
- <3cf217d80911120744g5e020003rc00c460fff0bff1d@mail.gmail.com>
- In-Reply-To
- <76718490911112144n6837d02cw94d608bcbc74855a@mail.gmail.com>
The only output I get is:
warning: templates not found /tmp/git/share/git-core/templates error: Unable to open /ad/eng/courses/ec/ec464/ec464-team03/test.git/HEAD.lock for writing
ls -al in the directory gives me: total 12 drwx------ 3 schoen root 4096 Nov 12 10:41 . d--------- 7 root root 4096 Nov 12 10:41 .. -rwx------ 1 schoen root 0 Nov 12 10:41 HEAD.lock drwx------ 4 schoen root 4096 Nov 12 10:41 refs
As I understand it, because we use Kerberos, permissions on everything must be set to 700 at most. I think the issue here comes from the fact that git wants to use group permissions. This is my guess.
On Thu, Nov 12, 2009 at 12:44 AM, Jay Soffian <jaysoffian@gmail.com> wrote:
Show 10 quoted lines
> On Wed, Nov 11, 2009 at 4:17 PM, sconeman <schoen@bu.edu> wrote: >> does. Git doesn't like this and won't even create a bare repository. Is >> there any way I can get git to ignore permissions and just do what it needs >> to do? > > And the output from "git init --bare" is? > > j. > >