delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/04/22/22:32:37

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL
X-Spam-Check-By: sourceware.org
Message-ID: <49EFD328.6070000@byu.net>
Date: Wed, 22 Apr 2009 20:32:08 -0600
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com, deliverable AT gmail DOT com
Subject: Re: Cygwin git and Windows native Git differ on flipping permissions
References: <7c737f300904221917g5593fd52j90394a9b66d3b914 AT mail DOT gmail DOT com>
In-Reply-To: <7c737f300904221917g5593fd52j90394a9b66d3b914@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Alexy Khrabrov on 4/22/2009 8:17 PM:
> -- which come with a Windows-native Git and git-gui.  Strangely, the
> gui shows that permissions of lots of things changed from 100755 to
> 100644.When I agree and add and commit that in the windows gui, back
> on cygwin, git status suddently complains that the permissions changed
> from 100644 to 100755!  Why this weirdness?

Probably because the native windows git is compiled with a flag that
states that the x bit is unreliable (which, in general, Windows apps are
so lousy with their handling of the x bit on NTFS, and it is impossible to
track x bit on FAT, is probably the right thing).  Meanwhile, the cygwin
git is compiled to respect the x bit, because cygwin does a better job of
properly managing x bits on NTFS, and doing a better job of a reasonable
fake of the x bit on FAT.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknv0ygACgkQ84KuGfSFAYAntwCgkORaFpvj4UqPlhlXQCzjmqNd
lzQAn0mGvhQV8LIy+mlyiX+aLQ4Ckoj+
=7rm5
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019