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:subject:references:to:from:reply-to:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=r7IMhJjpbXXgG6Tj KLped1+W+jFBdpfynmZ9uKq7oH+AYmgwHeEJqCHSud0iyz/J+vuCwEU79x/oBZCa onUPna5BKdaD/Shyz1LerAuacziyql0XG87Ft2VMkm9zg+LQpQBDyQKmXO3ADQ+j RhmhTX2BgcIf3+daTfs5B6c25GY= 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:subject:references:to:from:reply-to:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=jnj/8PJ7PfGOztUMl07Rrr 3vwkc=; b=HpPxeNzLLpg1Oypb1khuiIuCXJpxwLNpB6YuSiKnnZC+2rw9gK1XV1 K6Q/8vVy7HhzBeHdeRrCi7j5jcNa38m/PR78BagIHvljOwRFHu77lRl0301u0oTi MMamdLxtkyiSviUtwYWaCtiT0OQXwUDl/JeLjnXc7yMhoQzdtSSqU= 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.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=HX-HELO:sk:smtp-ou, Hx-spam-relays-external:shaw.ca, H*r:shaw.ca, H*RU:shaw.ca X-HELO: smtp-out-no.shaw.ca X-Authority-Analysis: v=2.2 cv=Roa1FGuK c=1 sm=1 tr=0 a=WqCeCkldcEjBO3QZneQsCg==:117 a=WqCeCkldcEjBO3QZneQsCg==:17 a=IkcTkHD0fZMA:10 a=w_pzkKWiAAAA:8 a=WGQuxEHq9vNaGJAMHS0A:9 a=QEXdDO2ut3YA:10 a=9c8rtzwoRDUA:10 a=sRI3_1zDfAgwuvI8zelB:22 Subject: Re: Editors set x-bit (sometimes) References: <1481625566 DOT 176738 DOT 817340945 DOT 718D9CF0 AT webmail DOT messagingengine DOT com> <7bbc7866-32f9-1c22-c39e-e7cc92e28222 AT cornell DOT edu> <1481642417 DOT 99199 DOT 817613057 DOT 617EE00F AT webmail DOT messagingengine DOT com> To: cygwin AT cygwin DOT com From: Brian Inglis Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca Message-ID: <8177dbde-68ac-df2a-a968-9e41ed7ca0cb@SystematicSw.ab.ca> Date: Tue, 13 Dec 2016 12:02:59 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <1481642417.99199.817613057.617EE00F@webmail.messagingengine.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4wfP5BYW/iCCdqWETKIA7Re4ax60moBwRjVaNzCcRhzrkX+1pq5Jvy0w/x3heidjZnnudGBdYXcZftMBnfv7urnbGMy3mBrrffbQmYKeKxsJNF9BN8DTJO nT+4h/22dFsxWek2N3KQiG4Z52B4Jivi3+c7C5fTg8W7rtIxNE8/JxF2qWH/2b+4BVqQ+XF0sbOCtQ== X-IsSubscribed: yes On 2016-12-13 08:20, Ronald Otto Valentin Fischer wrote: >On 2016-12-13 10:57, Ken Brown wrote: >> Does this help? >> https://cygwin.com/faq/faq.html#faq.using.same-with-permissions > While interesting, it seems to describe a different phenomenon. > Actually, when I create files by Cygwin tools only (touch, nano, > ....), the access rights are always correct. Indeed, even after > removing the extended ACL entries - as was suggested in the FAQ -, > the problem still appears. > However, I have a new finding: When I create a file from a CMD.EXE > command line, by i.e. > echo xx > abc.rb > the access rights *do* have the x-bits set! This is reproducible, > but only when the file which was created, is below my Cygwin tree! > I agree that this smells a lot like an extended ACL issue, but as > I said, setacl -b provided no help. Remove DACLs Default ACLs also on directories using: setfacl -bk ~/.[!.]* ~/.[!.]*/**/ ~/.[!.]*/**/* \ /???/**/ /???/**/* /sbin/ /sbin/* - that takes a while to run, and you may get a few anonymous setfacl: Permission denied messages - paths in the messages would have been nice here! Be careful *NOT* to hit Windows directories including your Windows home directory, or any other Windows directories, native symlinks, native hardlinks, junctions, or file types such as Windows .lnk, .URL, etc. where Windows may rely on the DACLs, ACLs, and attributes for proper handling. I don't know that removing them would cause problems, but I don't trust Windows to DTRT if it doesn't see what it expects, or DTRT in future if changes are made and the expected settings are not still in place. -- -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada -- 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