From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 113728 invoked by alias); 3 Oct 2015 10:10:12 -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 113705 invoked by uid 89); 3 Oct 2015 10:10:11 -0000 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 Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Sat, 03 Oct 2015 10:10:10 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZiJlV-00023C-Ka for cygwin@cygwin.com; Sat, 03 Oct 2015 12:10:05 +0200 Received: from aqv113.neoplus.adsl.tpnet.pl ([83.26.181.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 03 Oct 2015 12:10:05 +0200 Received: from mos.wysocki by aqv113.neoplus.adsl.tpnet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 03 Oct 2015 12:10:05 +0200 To: cygwin@cygwin.com From: Michal Wysocki Subject: After cygwin update, all files are created with +x flag Date: Sat, 03 Oct 2015 10:10:00 -0000 Message-ID: <10m9flagqmy3w$.1dy4m4bn3fx8g.dlg@40tude.net> Reply-To: mos.wysocki@gmail.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 X-SW-Source: 2015-10/txt/msg00030.txt.bz2 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