X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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 Reply-To: cygwin AT cygwin DOT com Message-ID: <518060803.20180328171118@yandex.ru> To: =?utf-8?Q?Kjetil_=C3=98ster=C3=A5s?= , cygwin AT cygwin DOT com Subject: Re: Filemode change by windows applications In-Reply-To: References: 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