This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Problem with git and file mode changes
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: Dani Moncayo <dmoncayo at gmail dot com>, cygwin at cygwin dot com
- Date: Sat, 5 Sep 2015 14:52:29 +0300
- Subject: Re: Problem with git and file mode changes
- Authentication-results: sourceware.org; auth=none
- References: <CAH8Pv0jXEEJ5P4jmojYne_SAt-DtK7twGLuujFCukoAhr1-f8g at mail dot gmail dot com> <CAH8Pv0j7y6-3d2Jwi1PzO1AXPVuXDc3S7tuAcVLEkGwEGJLE5w at mail dot gmail dot com>
- Reply-to: cygwin at cygwin dot com
Greetings, Dani Moncayo!
> Adam, Ken, thank you for taking time to help me.
> (BTW, did you keep my address in CC? Because I didn't get any of your
> replies. I had to check the mailing list web archive [1]).
Per the very purpose of mailing list, you're expected to subscribe for
conversation.
You can't really expect people to go to the trouble of checking if they need
to send additional copies or not.
> BTW(2): For the record, some data points I forgot to give in my initial post:
> * The underlying filesystem is NTFS.
> * I did not have this problem some weeks ago, with the same
> system, Cygwin installation, and git repo. Therefore, some
> change/update in my system/environment must have introduced the problem.
> Ken's suggestion (setfacl -b test) didn't work, but it did work when I
> executed it on individual files (eg. 'test/rmailmm.el' instead of
> 'test'). So the problem is apparently fixed after doing:
> find . -exec setfacl -b {} \;
> Thank you so much.
The idea of resetting ACL's on the top-level directory is to have a clean
start with the checkout. Doing it on an already existing tree may not yield
desirable resultsâ as you've discovered yourself.
And if you ask me, a VCS that trying to preserve exact access mask is just
asking for trouble.
--
With best regards,
Andrey Repin
Saturday, September 5, 2015 14:40:23
Sorry for my terrible english...