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

Re: private file add/checkout

From
Junio C Hamano <junkio@cox.net>
Date
Dec 26, 2006, 02:16 UTC
Message-ID
<7vk60fieq3.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<4590822C.3070206@gmail.com>
SungHyun Nam <goweol@gmail.com> writes:
Show 5 quoted lines
> Though I set 'shared=false' or umask=0077,
> I cannot add a file with mode=0600.
> GIT always added it as mode=0644.
> How I can add/checkout a file with mode=0600?
> Is it impossible?

Git is about source code control and uses file mode only for executable bits.

Previous: SungHyun Nam
Message 2 of 2 in “private file add/checkout”
  1. SungHyun NamDec 26, 2006
  2. Junio C HamanoDec 26, 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.