Re: Filemode change by windows applications

2018-03-28 Thread Andrey Repin
Greetings, Eliot Moss! > On 3/28/2018 10:40 AM, Eliot Moss wrote: >> On 3/28/2018 10:11 AM, Andrey Repin wrote: >> and is there anything I can do to prevent windows applications from setting the execute bit on my files? >>> >>> No, and you will be unable to use Windows associations, if

Re: Filemode change by windows applications

2018-03-28 Thread Eliot Moss
On 3/28/2018 10:27 AM, Kjetil Østerås wrote: Do you know where I can find documentation or source code that describes the mapping that cygwin implements? See: https://cygwin.com/cygwin-ug-net/ntsec.html This is referenced in the Cygwin FAQ. It's complicated, but I think the doc explains it.

Re: Filemode change by windows applications

2018-03-28 Thread Eliot Moss
On 3/28/2018 10:40 AM, Eliot Moss wrote: On 3/28/2018 10:11 AM, Andrey Repin wrote: and is there anything I can do to prevent windows applications from setting the execute bit on my files? No, and you will be unable to use Windows associations, if you clear execute bit on documents. Interes

Re: Filemode change by windows applications

2018-03-28 Thread Eliot Moss
On 3/28/2018 10:11 AM, Andrey Repin wrote: and is there anything I can do to prevent windows applications from setting the execute bit on my files? No, and you will be unable to use Windows associations, if you clear execute bit on documents. Interesting that you think so, Andrey. I just te

Re: Filemode change by windows applications

2018-03-28 Thread Kjetil Østerås
Hi Eliot, Do you know where I can find documentation or source code that describes the mapping that cygwin implements? 2018-03-28 15:06 GMT+02:00 Eliot Moss : > On 3/28/2018 3:09 AM, Kjetil Østerås wrote: > > I notice that when I edit and save a file in a windows application this >> file sometim

Re: Filemode change by windows applications

2018-03-28 Thread Andrey Repin
Greetings, Kjetil Østerås! > I notice that when I edit and save a file in a windows application this > file sometimes get the execute file permission set in cygwin. Some windows > applications do this and some don't. For instance in my setup if i modify a > .c file using Meld then the execute bit

Re: Filemode change by windows applications

2018-03-28 Thread Eliot Moss
On 3/28/2018 3:09 AM, Kjetil Østerås wrote: I notice that when I edit and save a file in a windows application this file sometimes get the execute file permission set in cygwin. Some windows applications do this and some don't. For instance in my setup if i modify a .c file using Meld then the e