From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 123659 invoked by alias); 3 Oct 2015 12:46:55 -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 123644 invoked by uid 89); 3 Oct 2015 12:46:54 -0000 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_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: limerock01.mail.cornell.edu Received: from limerock01.mail.cornell.edu (HELO limerock01.mail.cornell.edu) (128.84.13.241) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 03 Oct 2015 12:46:54 +0000 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite3.serverfarm.cornell.edu [10.16.197.8]) by limerock01.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id t93Ckpgg029814 for ; Sat, 3 Oct 2015 08:46:52 -0400 Received: from [192.168.1.5] (cpe-67-249-176-138.twcny.res.rr.com [67.249.176.138]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id t93CkoYC013125 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Sat, 3 Oct 2015 08:46:51 -0400 Subject: Re: After cygwin update, all files are created with +x flag To: cygwin@cygwin.com References: <10m9flagqmy3w$.1dy4m4bn3fx8g.dlg@40tude.net> From: Ken Brown Message-ID: <560FCE3D.8090503@cornell.edu> Date: Sat, 03 Oct 2015 12:46:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <10m9flagqmy3w$.1dy4m4bn3fx8g.dlg@40tude.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-10/txt/msg00031.txt.bz2 On 10/3/2015 6:07 AM, Michal Wysocki wrote: > Hi > > While installing some packages I've accidentally updated my whole cygwin > from 1.7.29 to 2.1.1. > > From what I've found, around 1.7.34/35 there was some big change in ACL > handling. > > Now, all my files and directories created in old cygwin (kernel build tree, > cygwin /etc folder etc.) have totally messed up permissions. Essentially > all files have 0774. > > Also all new files created by touch, scripts, compilers etc., end up with > executable flag set: > > $ touch test > $ getfacl -a test > # file: test > # owner: Misiek > # group: None > user::rw- > group::r-- > group:Uzytkownicy uwierzytelnieni:rwx // Authenticated users > group:SYSTEM:rwx > group:Administratorzy:rwx // Admins > group:Uzytkownicy:r-x // Users > mask:rwx > other:r-- > $ ls -l test > -rwxrwxr--+ 1 Misiek None 0 10-03 11:33 test > > > Of course everything still works, but is it new expected behavior? I'm not > sure if I really understand windows ACL, but this change in how cygwin > handles them is really disruptive... > > Is there a tool / way to convert permissions on all my work folders/files, > so they are interpreted by new cygwin the same way as old one did? setfacl -b See https://cygwin.com/faq/faq.html#faq.using.ssh-pubkey-stops-working . Ken -- 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