Re: New repo quickly corrupted
- From
Christian Couder <chriscool@tuxfamily.org>
- Date
- Nov 17, 2007, 12:53 UTC
- Message-ID
- <200711171353.45310.chriscool@tuxfamily.org>
- In-Reply-To
- <473D4827.1060109@op5.se>
Le vendredi 16 novembre 2007, Andreas Ericsson a écrit :
Show 13 quoted lines
> Christian Couder wrote: > > Le jeudi 15 novembre 2007, Linus Torvalds a écrit : > >> On Thu, 15 Nov 2007, Nicolas Pitre wrote: > >>> Does "dos2unix" override file access bits? Because the object store > >>> is always made read-only. > >> > >> Almost all programs like that will entirely ignor the fact that > >> something is read-only. > > > > What if the .git/objects/ sudirectories were also read-only ? > > Then git wouldn't be able to write to it without chmod()'ing it each > time.
Yes, but some (not manly enough) people might want the extra safety even if it means a performance penalty.
Christian.