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:to:from:subject:date:message-id:reply-to :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=dteRnqGWJRhr4a+ffB6QsbOC0LVjZi1PUlGMck6FbU1yr/+uWqoD7 7l2bfrSgxTZuRWPlwuF7qm8yTKCJKL4EfyGjyXq0bjpsspvEm4CGvyR5Se0M4i/w KB2juq/8NeP+gefw9bd4E5LCDbT+DOTRGWjCml00f7MfzI21eDrDdQ= 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:to:from:subject:date:message-id:reply-to :mime-version:content-type:content-transfer-encoding; s=default; bh=SGjvpv4sW4IjaMS+lzSmPGB0Pu8=; b=yfF1tgw+MFWxV+jWi5aJTAXMwIa0 JJTI8AllQOgAyuLmSONDZNW1/c2YqqEXEv9ku6cFbsoPBHB+5YQA1sQQUj0Ny01i AYargvnAbhHAYSRKZkGPNJas/4/aGF/9OEEkDn5p4P9ltjUZJwIB2ZAFEI0exzRd DTOas8knpIs1RJw= 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=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: Michal Wysocki Subject: After cygwin update, all files are created with +x flag Date: Sat, 3 Oct 2015 12:07:11 +0200 Lines: 41 Message-ID: <10m9flagqmy3w$.1dy4m4bn3fx8g.dlg@40tude.net> Reply-To: mos DOT wysocki AT gmail DOT com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit User-Agent: 40tude_Dialog/2.0.15.1pl X-IsSubscribed: yes 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? Thanks Michal -- 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