git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matt Schoen <mtschoen@gmail.com>
To: Jay Soffian <jaysoffian@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: get git not to care about permissions
Date: Thu, 12 Nov 2009 10:44:50 -0500	[thread overview]
Message-ID: <3cf217d80911120744g5e020003rc00c460fff0bff1d@mail.gmail.com> (raw)
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:
> 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.
>
>

  reply	other threads:[~2009-11-12 15:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-09 16:06 get git not to care about permissions sconeman
2009-11-12  5:44 ` Jay Soffian
2009-11-12 15:44   ` Matt Schoen [this message]
2009-11-12 16:10     ` Thomas Rast
2009-11-12 21:44       ` Matt Schoen
2009-11-15 12:31         ` Thomas Rast
     [not found] ` <76c5b8580911111327k43daece9s2e71d0a2b8adcebd@mail.gmail.com>
     [not found]   ` <76c5b8580911111334p76232995qbd6bf6b06d250854@mail.gmail.com>
2009-11-12 15:28     ` Eugene Sajine
2009-11-12 15:47       ` Matt Schoen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3cf217d80911120744g5e020003rc00c460fff0bff1d@mail.gmail.com \
    --to=mtschoen@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=jaysoffian@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).