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

Re: Git clone gives zero file permissions

From
Johannes Sixt <j.sixt@viscovery.net>
Date
Apr 24, 2014, 10:18 UTC
Message-ID
<5358E509.7070306@viscovery.net>
In-Reply-To
<CACDOErWqjihSYi4r6r8cjfFcbWe+7H0Tihjmkn18Y-szn7cE2g@mail.gmail.com>
Am 4/24/2014 10:24, schrieb Jussi Peltonen:
Show 11 quoted lines
> I installed git to my Windows 7 workstation and cloned
> "http://git.ipxe.org/ipxe.git" by using the Git GUI.
> 
> ipxe-23042014/src tree looks like this in Cygwin bash:
> 
> Files have no permissions, same goes with subfolders, e.g.
> 
> $ ls -l config/
> total 47
> ----------+ 1 peltoju Domain Users  699 Apr 23 09:00 colour.h
> ...

If that's the only problem, then I'd say: don't use Cygwin's ls to look at these files ;-)

So, really, what is the problem? You are using:
> git-gui version 0.19.GITGUI
> git version 1.9.0.msysgit.0

This doesn't look like Cygwin's git. That there are some discrepancies in the result produced by Git for Windows is not surprising (but I'm not saying "is expected").

-- Hannes
Previous: Jussi Peltonen
Message 2 of 2 in “Git clone gives zero file permissions”
  1. Jussi PeltonenApr 24, 2014
  2. Johannes SixtApr 24, 2014

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.