From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 119702 invoked by alias); 13 Dec 2016 20:15:52 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 119687 invoked by uid 89); 13 Dec 2016 20:15:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_50,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=henry, Henry, H*F:D*ac.uk, Professional X-HELO: loire.is.ed.ac.uk Received: from loire.is.ed.ac.uk (HELO loire.is.ed.ac.uk) (129.215.16.10) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 13 Dec 2016 20:15:41 +0000 Received: from crunchie.inf.ed.ac.uk (crunchie.inf.ed.ac.uk [129.215.33.180]) by loire.is.ed.ac.uk (8.14.7/8.14.6) with ESMTP id uBDKFcSd021798 for ; Tue, 13 Dec 2016 20:15:38 GMT Received: from troutbeck.inf.ed.ac.uk (troutbeck.inf.ed.ac.uk [129.215.25.32]) by crunchie.inf.ed.ac.uk (8.14.4/8.14.4) with ESMTP id uBDKFciv003373 for ; Tue, 13 Dec 2016 20:15:39 GMT Received: from troutbeck.inf.ed.ac.uk (localhost [127.0.0.1]) by troutbeck.inf.ed.ac.uk (8.14.7/8.14.7) with ESMTP id uBDKFcUZ016956 for ; Tue, 13 Dec 2016 20:15:38 GMT Received: (from ht@localhost) by troutbeck.inf.ed.ac.uk (8.14.7/8.14.7/Submit) id uBDKFbre016955; Tue, 13 Dec 2016 20:15:37 GMT To: cygwin@cygwin.com Subject: Re: Editors set x-bit (sometimes) References: <1481625566.176738.817340945.718D9CF0@webmail.messagingengine.com> <7bbc7866-32f9-1c22-c39e-e7cc92e28222@cornell.edu> <1481642417.99199.817613057.617EE00F@webmail.messagingengine.com> <8177dbde-68ac-df2a-a968-9e41ed7ca0cb@SystematicSw.ab.ca> <87h967obmc.fsf@Rainer.invalid> From: ht@inf.ed.ac.uk (Henry S. Thompson) Date: Tue, 13 Dec 2016 20:15:00 -0000 In-Reply-To: <87h967obmc.fsf@Rainer.invalid> (Achim Gratz's message of "Tue\, 13 Dec 2016 20\:46\:51 +0100") Message-ID: User-Agent: Gnus/5.1012 (Gnus v5.10.12) XEmacs/21.5-b34 (linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Edinburgh-Scanned: at loire.is.ed.ac.uk with MIMEDefang 2.78, Sophie, Sophos Anti-Virus, Clam AntiVirus X-IsSubscribed: yes X-SW-Source: 2016-12/txt/msg00139.txt.bz2 I find I can reproduce the OP's observations, and the most recent advice doesn't fix it (although it changes the symptoms): >From mintty/bash: 639> cd /tmp 641> ls -ld . drwxrwxr-x+ 1 ht None 0 Dec 13 19:55 ./ 640> getfacl . # file: . # owner: ht # group: None user::rwx group::rwx other:r-x default:user::rwx default:group::r-x default:other:r-x 642> touch x3 643> ls -l x3 -rw-r--r-- 1 ht None 0 Dec 13 19:59 x3 Switch to CMD (not elevated): C:\Users\ht>cd ..\..\C64\tmp C:\C64\tmp>echo > x2 C:\C64\tmp> Back to mintty/bash: 644> ls -l x2 -rwxr-xr-x 1 ht None 13 Dec 13 20:00 x2* OK, try the advice 645> setfacl -bk . 649> getfacl . # file: . # owner: ht # group: None user::rwx group::rwx other:r-x 646> echo > y3 647> ls -l y3 -rw-r--r-- 1 ht None 1 Dec 13 20:01 y3 Over to CMD: C:\Users\ht>cd ..\..\C64\tmp C:\C64\tmp>echo > y2 C:\C64\tmp> And back to mintty/bash: 648> ls -l y2 -rwxrwx---+ 1 ht None 13 Dec 13 20:02 y2* 650> ls -ld . drwxrwxr-x 1 ht None 0 Dec 13 20:02 ./ 652> setfacl -bk y2 653> ls -l y2 -rwx------ 1 ht None 13 Dec 13 20:02 y2* Windows 10 Professional N Ver 10.0 Build 10586 3229k 2016/08/31 C:\C64\bin\cygwin1.dll Cygwin DLL version info: DLL version: 2.6.0 ht -- Henry S. Thompson, School of Informatics, University of Edinburgh 10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk URL: http://www.ltg.ed.ac.uk/~ht/ [mail from me _always_ has a .sig like this -- mail without it is forged spam] -- 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