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

Re: [PATCH] git-receive-pack needs to set umask(2)

From
Jakub Narebski <jnareb@gmail.com>
Date
May 28, 2006, 22:00 UTC
Message-ID
<e5d6i0$rnf$1@sea.gmane.org>
In-Reply-To
<v0irnpn8ea.fsf@marajade.sandelman.ca>
Michael Richardson wrote:
> This change adds $GIT_DIR/umask to contain a single line, an integer
> which will be fed to umask(). This should also work for the git daemon,
> which I personally do not use, so this may be inappropriate.

Shouldn't it be done rather via $GIT_DIR/config file, and git-repo-config? I.e. instead of adding new file to repository layout, $GIT_DIR/umask, add core.umask to git configuration?

-- 
Jakub Narebski
Warsaw, Poland
Previous: Michael RichardsonNext: Johannes Schindelin
Message 2 of 9 in “git-receive-pack needs to set umask(2)”
  1. git-receive-pack needs to set umask(2)Michael Richardson, May 28, 2006
  2. Jakub NarebskiMay 28, 2006
  3. Johannes SchindelinMay 29, 2006
  4. Salikh ZakirovMay 29, 2006
  5. Shawn PearceMay 29, 2006
  6. Linus TorvaldsMay 29, 2006
  7. Alex RiesenMay 29, 2006
  8. Johannes SchindelinMay 29, 2006
  9. Petr BaudisMay 28, 2006

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.