git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: get git not to care about permissions

From
MSMatt 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.
>
>
Previous: Jay SoffianNext: Thomas Rast
Message 3 of 8 in “get git not to care about permissions”
  1. sconemanNov 9, 2009
  2. Jay SoffianNov 12, 2009
  3. Matt SchoenNov 12, 2009
  4. Thomas RastNov 12, 2009
  5. Matt SchoenNov 12, 2009
  6. Thomas RastNov 15, 2009
  7. Eugene SajineNov 12, 2009
  8. Matt SchoenNov 12, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.