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:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=prNVPM1d61KOKSWC KlLDD0jgtVaWTy5PT8Di3cFsi+cXqXV/ATenJmKT4T4ACBk8NGrkS1RgcUhPU/in Tcee8ECDKNJviQ0XHcdFIb2xUto/TC9Bax7DZQn8D/FuKstfB3LzpSTvJIeHuRl2 kag/zTqnhRf/X8TZwcuqHqiQMqY= 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:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=uis2hNmXqI241Ec3t7V+p5 OcUCI=; b=VCrkaDN5eIgyPQ75cA+xEcSqRkoyXYiPSb0r1suCNcuS3/t9CXw7BI TOOIdGLksj8uLprk5LVbPtP2lUOP+ZI3El4MRA81jLEPN/BzPBYjtje8O2oCeKou Jwc7+5ieekb0rlgwhaEF7MmeHYZQaSWNFWH4DoqZGlg4g2T5QWL9Y= 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_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: limerock01.mail.cornell.edu X-CornellRouted: This message has been Routed already. Subject: Re: After cygwin update, all files are created with +x flag To: cygwin AT cygwin DOT com References: <10m9flagqmy3w$.1dy4m4bn3fx8g DOT dlg AT 40tude DOT net> From: Ken Brown Message-ID: <560FCE3D.8090503@cornell.edu> Date: Sat, 3 Oct 2015 08:46:53 -0400 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 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