All of lore.kernel.org
 help / color / mirror / Atom feed
* Git clone gives zero file permissions
@ 2014-04-24  8:24 Jussi Peltonen
  2014-04-24 10:18 ` Johannes Sixt
  0 siblings, 1 reply; 2+ messages in thread
From: Jussi Peltonen @ 2014-04-24  8:24 UTC (permalink / raw)
  To: git

Hello,

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:

d---------+ 1 peltoju Domain Users     0 Apr 23 09:00 arch
d---------+ 1 peltoju Domain Users     0 Apr 23 09:00 bin
d---------+ 1 peltoju Domain Users     0 Apr 23 09:00 config
d---------+ 1 peltoju Domain Users     0 Apr 23 09:00 core
d---------+ 1 peltoju Domain Users     0 Apr 23 09:00 crypto
d---------+ 1 peltoju Domain Users     0 Apr 23 09:00 doc
----------+ 1 peltoju Domain Users 62631 Apr 23 09:00 doxygen.cfg
d---------+ 1 peltoju Domain Users     0 Apr 23 09:00 drivers
d---------+ 1 peltoju Domain Users     0 Apr 23 09:00 hci
d---------+ 1 peltoju Domain Users     0 Apr 23 09:00 image
d---------+ 1 peltoju Domain Users     0 Apr 23 09:00 include
d---------+ 1 peltoju Domain Users     0 Apr 23 09:00 interface
d---------+ 1 peltoju Domain Users     0 Apr 23 09:00 libgcc
----------+ 1 peltoju Domain Users  6146 Apr 23 09:00 Makefile
----------+ 1 peltoju Domain Users 38982 Apr 23 09:00 Makefile.housekeeping
d---------+ 1 peltoju Domain Users     0 Apr 23 09:00 net
d---------+ 1 peltoju Domain Users     0 Apr 23 09:00 tests
d---------+ 1 peltoju Domain Users     0 Apr 23 09:00 usr
d---------+ 1 peltoju Domain Users     0 Apr 23 09:00 util

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
----------+ 1 peltoju Domain Users 6961 Apr 23 09:00 config.c
----------+ 1 peltoju Domain Users  518 Apr 23 09:00 config_ethernet.c
----------+ 1 peltoju Domain Users  584 Apr 23 09:00 config_fc.c
----------+ 1 peltoju Domain Users  474 Apr 23 09:00 config_infiniband.c
----------+ 1 peltoju Domain Users  875 Apr 23 09:00 config_net80211.c
----------+ 1 peltoju Domain Users  478 Apr 23 09:00 config_romprefix.c
----------+ 1 peltoju Domain Users  555 Apr 23 09:00 config_route.c

Any explanation available?


git-gui version 0.19.GITGUI
git version 1.9.0.msysgit.0

- Jussi Peltonen

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Git clone gives zero file permissions
  2014-04-24  8:24 Git clone gives zero file permissions Jussi Peltonen
@ 2014-04-24 10:18 ` Johannes Sixt
  0 siblings, 0 replies; 2+ messages in thread
From: Johannes Sixt @ 2014-04-24 10:18 UTC (permalink / raw)
  To: Jussi Peltonen, git

Am 4/24/2014 10:24, schrieb Jussi Peltonen:
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-24 10:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-24  8:24 Git clone gives zero file permissions Jussi Peltonen
2014-04-24 10:18 ` Johannes Sixt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.