From: Junio C Hamano Date: Tue, 03 May 2005 23:22:53 GMT Subject: Re: Careful object writing.. Message-ID: <7vr7gnsxma.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <81b0412b05050316045fa31c2a@mail.gmail.com> >>>>> "AR" == Alex Riesen writes: AR> On 5/3/05, Linus Torvalds wrote: >> I also change the permission to 0444 before it gets its final name. AR> Maybe umask it first? Just in case. In general worrying about umask when you see chmod is a good practice, but it probably is not applicable to this particular case. A person with umask 077 should still get 0444 if the SHA1_FILE_DIRECTORY is shared with other people, and if it is not shared, his initial git-init-db would have made it 0700, so it does not matter it the files files underneath it have 0444.