# private file add/checkout

2 messages from 2006-12-26 to 2006-12-26. Participants: SungHyun Nam, Junio C Hamano.
Thread: https://gitlist.dev/t/6109

## SungHyun Nam, 2006-12-26 02:00

Subject: private file add/checkout
Message-ID: <4590822C.3070206@gmail.com>
URL: https://gitlist.dev/e/4590822C.3070206%40gmail.com

```
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, 2006-12-26 02:16

Subject: Re: private file add/checkout
Message-ID: <7vk60fieq3.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7vk60fieq3.fsf%40assigned-by-dhcp.cox.net
In-Reply-To: <4590822C.3070206@gmail.com>

```
SungHyun Nam <goweol@gmail.com> writes:

> 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.

```
