threads / discuss / 6109

private file add/checkout

Subject: private file add/checkout

## tl;dr

2 messages between Dec 26, 2006 and Dec 26, 2006.

replies: 1people: 2as markdown or json

SungHyun Nam· Dec 26, 2006, 02:00 UTC · lore
Hello,

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?

Thanks, namsh

Junio C Hamano· Dec 26, 2006, 02:16 UTC · re: SungHyun Nam · lore

Re: private file add/checkout

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.

← back to recent threads