X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=HrVp5C7WkqzbYuNS
	gFrkoV70EqgE/q1WcpGohUASGAzE00KnekyubZx6M6JyUK78RJFKlJBdiXqbIA4D
	w5IQQ+GQ0G/TT5et+tY7eWyv4yDyTL+WRLHoSY6yAjKhf/fC2esUA8y9Yuan9M5p
	IeQOXuzIfZ6cmYScq5lxctFdvxo=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=z1RJkxZhDvRNHGnQgrlmbX
	1ZY2c=; b=iJV2ZG1tURSuDbqVNmTo41OypvIdy9QpV7UfyE1OK9qL+16RGUqxwo
	gLAV53r/W6eyfL1WxlBJ9x2rb/tdXjNvnkCzElWQyU8l8TyA5VZ6//P+DsK9Yw91
	DYu6KRcXoZ6dQNlWAcJxgDrky2U2FHDGvdajzAubJeuASLkHeZzfU=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.2 required=5.0 tests=BAYES_40,FREEMAIL_FROM,KAM_THEBAT,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*F:D*yandex.ru, yandexru, UD:yandex.ru, yandex.ru
X-HELO: forward103j.mail.yandex.net
Authentication-Results: smtp2p.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Wed, 28 Mar 2018 17:11:18 +0300
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <518060803.20180328171118@yandex.ru>
To: =?utf-8?Q?Kjetil_=C3=98ster=C3=A5s?= <kjetilos@gmail.com>,
        cygwin@cygwin.com
Subject: Re: Filemode change by windows applications
In-Reply-To: <CAFeO1eoW52-4S4gD0=YL7g1YKsjjn9Jk8twV22e57HmmKQc5vg@mail.gmail.com>
References: <CAFeO1eoW52-4S4gD0=YL7g1YKsjjn9Jk8twV22e57HmmKQc5vg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id w2SEKnQR010281

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


