Filemode change by windows applications

Andrey Repin anrdaemon@yandex.ru
Wed Mar 28 14:27:00 GMT 2018


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 is set, however when I modify the
> same file with sublime text 3 then the execute bit is not set.

> Why does this happen?

This is how Windows operates. Please do not use Windows programs inside Cygwin
installation tree.

> 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.


-- 
With best regards,
Andrey Repin
Wednesday, March 28, 2018 17:09:24

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



More information about the Cygwin mailing list