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:reply-to:subject:to:references:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=B6zJOu+whzZuHuKN KjGBhJnmI9OWOH2e0LmqkyB1/HeH7Efv3i/6uIEg187cXTPm9+bck77q5x6kkXq9 +p5sDGQ/cNAFSUtjBdY/KHgB7oF+JkYAecKfSFQ4EOtEicJTB2Z6XV5v4JvGKJCE 3fIfliF4cb0Hfl0QHzsAkazoV3c= 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:reply-to:subject:to:references:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=5WEn7TLji4I9FMEOPtCtLx LmuPg=; b=bbrjjG1jJWW+IL6ijXjvrWWWQM5PPiDCtkLXetKpevW70CWvd3ekai 5ZxmuPNfOXqn9BVzqhRgAnZHniBVWoITMIH4b7W+/oRMVsVNOZYferzITZ+8Apte S92RbKyF0cpto/UkHFeiEO2pj6yFhrvrztRiLy30ljdkWyyUAF7N0= 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.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=Surface, Word, folder, documents X-HELO: mailsrv.cs.umass.edu Reply-To: moss AT cs DOT umass DOT edu Subject: Re: Filemode change by windows applications To: cygwin AT cygwin DOT com References: <518060803 DOT 20180328171118 AT yandex DOT ru> From: Eliot Moss Message-ID: <9965f4cf-566c-6d20-61b7-ce43580935aa@cs.umass.edu> Date: Wed, 28 Mar 2018 10:40:03 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <518060803.20180328171118@yandex.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 tested this on my Windows 10 Surface Book. I used Windows Explorer to navigate to a folder where I had cleared the x bits from a .docx file (setting mode to 660 with chmod in Cygwin), and clicking on the file opened Word on the file just fine. Maybe this behavior is dependent on some other things as well? Regards - Eliot -- 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