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

Re: shared permissions on COMMIT_EDITMSG

From
ILIlari Liusvaara <ilari.liusvaara@elisanet.fi>
Date
Jan 28, 2010, 11:14 UTC
Message-ID
<20100128111425.GA29577@Knoppix>
In-Reply-To
<4B61569A.1010808@gmail.com>
On Wed, Jan 27, 2010 at 11:19:22PM -1000, William Pursell wrote:
Show 5 quoted lines
> With git-init --shared=0660 and a umask of 022,
> the first commit to the repository creates
> the file COMMIT_EDITMSG with mode 0644
> instead of 0660.  I believe this is incorrect
> behavior.  Simple fix:
 
COMMIT_EDITMSG is related to committing, committing needs
working copy, and shared working copies don't work all too
well (and Git can't do anything about that because all kinds
of stuff edits the files there, not just Git).

Shared repository settings are meant to override umasks for files in actual repository itself.

-Ilari
Previous: William PursellNext: William Pursell
Message 2 of 4 in “shared permissions on COMMIT_EDITMSG”
  1. William PursellJan 28, 2010
  2. Ilari LiusvaaraJan 28, 2010
  3. William PursellJan 28, 2010
  4. demerphqJan 28, 2010

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.