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

Re: file mode

From
Peter Kleiweg <pkleiweg@xs4all.nl>
Date
Jun 13, 2011, 14:25 UTC
Message-ID
<alpine.DEB.1.10.1106131624120.4221@localhost>
In-Reply-To
<20110613053814.GA2680@sigill.intra.peff.net>
Jeff King schreef op de 13e dag van de zomermaand van het jaar 2011:
Show 6 quoted lines
> On Sun, Jun 12, 2011 at 07:12:42PM +0000, Michael Witten wrote:
> 
> > On Sun, Jun 12, 2011 at 18:57, Peter Kleiweg <pkleiweg@xs4all.nl> wrote:
> > > I added a file that has file mode 600. When I do a check-out,
> > > the file comes with mode 644. Is this supposed to happen? Then
> > > how do I control what permissions files have?
> We could add in a config option to respect file modes, but it has
> generally been seen as not worthwhile. It solves only a part of the
> general metadata problem, as it omits owner and group names or ids, as
> well as extended metadata like ACLs.
I see your point. 
 
> If modes are important to you, the suggested fixes are one of:
Thanks. This is really helpfull.
-- 
Peter Kleiweg
http://pkleiweg.home.xs4all.nl/
Previous: Michael Witten
Message 9 of 9 in “file mode”
  1. Peter KleiwegJun 12, 2011
  2. Michael WittenJun 12, 2011
  3. Jeff KingJun 13, 2011
  4. Dirk SüsserottJun 13, 2011
  5. Michael WittenJun 13, 2011
  6. Michael WittenJun 13, 2011
  7. Ævar Arnfjörð BjarmasonJun 13, 2011
  8. Michael WittenJun 14, 2011
  9. Peter KleiwegJun 13, 2011

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.