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

Re: Git newbie question: permissions

From
SMSamuel Lucas Vaz de Mello <samuellucas@datacom.ind.br>
Date
Oct 10, 2008, 14:44 UTC
Message-ID
<48EF6A64.9060203@datacom.ind.br>
In-Reply-To
<2008-10-09-23-41-14+trackit+sam@rfc1149.net>
Samuel Tardieu wrote:
> This should fix your current situation. The "sharedrepository = 1"
> will tell git to maintain a proper shared state in the future
> on objects it creates (i.e. mirror "user" permission to "group" ones).
>   

Is git-gc supposed to respect sharedrepository=1 and create group-writable files? For me, it's recreating the files under logs/refs/heads with 644 permissions.

BR,
 - Samuel
Previous: Ed Schofield
Message 6 of 6 in “Git newbie question: permissions”
  1. Ed SchofieldOct 9, 2008
  2. Samuel Lucas Vaz de MelloOct 9, 2008
  3. Marc WeberOct 9, 2008
  4. Samuel TardieuOct 9, 2008
  5. Ed SchofieldOct 9, 2008
  6. Samuel Lucas Vaz de MelloOct 10, 2008

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.