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

Re: New repo quickly corrupted

From
Robin Rosenberg <robin.rosenberg.lists@dewire.com>
Date
Nov 17, 2007, 14:13 UTC
Message-ID
<200711171513.38243.robin.rosenberg.lists@dewire.com>
In-Reply-To
<200711171353.45310.chriscool@tuxfamily.org>
lördag 17 november 2007 skrev Christian Couder:
Show 17 quoted lines
> Le vendredi 16 novembre 2007, Andreas Ericsson a écrit :
> > 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.
Those do manly enough to do run find . -exec  ;)
-- robin
Previous: Christian Couder
Message 11 of 11 in “New repo quickly corrupted”
  1. Jason SewallNov 15, 2007
  2. Junio C HamanoNov 15, 2007
  3. Jason SewallNov 15, 2007
  4. Linus TorvaldsNov 15, 2007
  5. Jason SewallNov 15, 2007
  6. Nicolas PitreNov 15, 2007
  7. Linus TorvaldsNov 15, 2007
  8. Christian CouderNov 16, 2007
  9. Andreas EricssonNov 16, 2007
  10. Christian CouderNov 17, 2007
  11. Robin RosenbergNov 17, 2007

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.