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: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@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.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@cs.umass.edu
Subject: Re: Filemode change by windows applications
To: cygwin@cygwin.com
References: <CAFeO1eoW52-4S4gD0=YL7g1YKsjjn9Jk8twV22e57HmmKQc5vg@mail.gmail.com> <518060803.20180328171118@yandex.ru>
From: Eliot Moss <moss@cs.umass.edu>
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

