From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 37780 invoked by alias); 16 Apr 2015 11:03:08 -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 37766 invoked by uid 89); 16 Apr 2015 11:03:07 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 X-HELO: calimero.vinschen.de Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 16 Apr 2015 11:03:06 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 49CE2A807DC; Thu, 16 Apr 2015 13:03:04 +0200 (CEST) Date: Thu, 16 Apr 2015 11:03:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: [TESTERS needed] New POSIX permission handling Message-ID: <20150416110304.GA26837@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20150410100703.GA4401@calimero.vinschen.de> <1428772308972-117455.post@n5.nabble.com> <20150412083532.GM7343@calimero.vinschen.de> <1428844894032-117479.post@n5.nabble.com> <20150412142521.GR7343@calimero.vinschen.de> <20150415154225.GD7343@calimero.vinschen.de> <1429179605687-117615.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="opJtzjQTFsWo+cga" Content-Disposition: inline In-Reply-To: <1429179605687-117615.post@n5.nabble.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-04/txt/msg00361.txt.bz2 --opJtzjQTFsWo+cga Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1785 On Apr 16 03:20, Ismail Donmez wrote: > Corinna Vinschen-2 wrote > > I just applied a patch which is supposed to handle this owner=3D=3Dgroup > > scenario better. > >=20 > > In short, Cygwin will try to handle POSIX user and group permissions > > separately, even if owner =3D=3D group. This is basically a fake as far > > as the actual permissions of the account are concerned, but it allows > > applications still to chmod to different user and group perms. It > > just *looks* different in the end. > >=20 > > The only restriction of this is that the POSIX user permissions are > > always changed so that the user perms are >=3D the group perms in this > > situation. So this: > >=20 > > chmod 460 foo > >=20 > > will be internally twisted into > >=20 > > chmod 660 foo > >=20 > >=20 > > I uploaded new developer snapshots to https://cygwin.com/snapshots/ > > and I'm just uploading a 2.0.0-0.5 test release with this change. >=20 > I tested the new test release (rm -rfd the cygwin installation and > re-installed from scratch just to be sure), my original testcase with qui= lt > and mutt works, BUT now when I run make install inside mutt source it > complains that /usr/bin/install cannot change permissions on the destinat= ion > executables. Hmm, ok. Off the top of my head I don't understand this. > can post an easily reproducable error. Because running the same command > myself gives no error whatsoever. I'll try to come up with a better repor= t. That would be nice. A good start would be to know what permission mask install is trying to set the destination to. Maybe that sheds some light. Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --opJtzjQTFsWo+cga Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJVL5boAAoJEPU2Bp2uRE+gBQ8P/A5cQpdmiThmJXk8i4LewyhJ eJ2p5lOBYaSpeRVh66CK9rjaKBeBkdYQwL2YHVnMXIWr+Y++pyXTBbx0/rQEKPoH OVZ4ykn4jdiufwd4vHp5YuRZ0iDLr9M0CJrdjPQasntjBAAF0eR4jDeb8cqf/c2y EE9p3f/RMspOVtzNYvEwTwKMv5nkdsTbQ9t257yoHzsPB0POQ/YfgeJI7uhHM8cZ ZQBZQcNcMaCM7VhlbKWUi7B7rzKl3aenw8ZyD4w33Tj6xAuRburhaYrjqoTivIOm YKpzzv9C8fayXFbY0P4qQhZnfWqjcf7TPcDIrQ4w4SQvWU0xdlj9OK/Pr01JtQ2S EBgBiRwi1B0bXXFVOs3QJpWudyt7e8u7gdMxqCyk4+hogp/gZYy37TAPqy5rrXo1 yVvqb1ogolbluQomm7OhgI+NpL7i6WD+ZvL3ak+9E1uGg4oy9rRV1ElSXt4G8JA2 lDJAD+ZUYPCbE9Gyts0eLGqQJfxoSxaiC43iTR27qtdrUBpXncHuPz5HVeDtpvCS bQDPwAS17omF7cazv/yNK/ik2Y9FjEVQ8494r24gMF25NAqkeFHW+HKkzCw781NL jsUKMvpay35Ud35dW1K0URYYfggD/SIz+MDkAXncVpw7tcu9+j1EDGbzXIqqkkiv u3o8U6fDxRlPZ1OtlBK0 =Y7m1 -----END PGP SIGNATURE----- --opJtzjQTFsWo+cga--