From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 42481 invoked by alias); 16 Apr 2015 16:09:33 -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 42450 invoked by uid 89); 16 Apr 2015 16:09:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=3.0 required=5.0 tests=AWL,BAYES_50,SPF_SOFTFAIL,URI_HEX autolearn=no version=3.3.2 X-HELO: mwork.nabble.com Received: from mwork.nabble.com (HELO mwork.nabble.com) (162.253.133.43) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 16 Apr 2015 16:09:31 +0000 Received: from msam.nabble.com (unknown [162.253.133.85]) by mwork.nabble.com (Postfix) with ESMTP id 1FE911B1540A for ; Thu, 16 Apr 2015 09:10:03 -0700 (PDT) Date: Thu, 16 Apr 2015 16:09:00 -0000 From: Ismail Donmez To: cygwin@cygwin.com Message-ID: <1429200569630-117621.post@n5.nabble.com> In-Reply-To: <20150416110304.GA26837@calimero.vinschen.de> 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> <20150416110304.GA26837@calimero.vinschen.de> Subject: Re: [TESTERS needed] New POSIX permission handling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2015-04/txt/msg00365.txt.bz2 Hi, Corinna Vinschen-2 wrote > 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=3Dgro= up >> > 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 f= ar >> > 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 >> quilt >> and mutt works, BUT now when I run make install inside mutt source it >> complains that /usr/bin/install cannot change permissions on the >> destination >> executables. >=20 > Hmm, ok. Off the top of my head I don't understand this. >=20 >> 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 >> report. >=20 > 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. So I am trying to configure and install mutt, and the first error I see is at the end of configure: configure: creating ./config.status chmod: changing permissions of './config.status': Permission denied configure: error: write failure creating ./config.status Well, looks like its right: [~/src/mutt]> chmod +x config.status chmod: changing permissions of =E2=80=98config.status=E2=80=99: Permission = denied [~/src/mutt]> uname -a CYGWIN_NT-6.3 ux31a 2.0.0(0.287/5/3) 2015-04-15 17:39 x86_64 Cygwin [~/src/mutt]> getfacl . # file: . # owner: ismail # group: ismail user::rwx group::r-x group:SYSTEM:rwx group:Administrators:rwx mask:r-x other:r-x default:user::rwx default:group::r-x default:group:SYSTEM:rwx default:group:Administrators:rwx default:mask:r-x default:other:r-x [~/src/mutt]> getfacl config.status # file: config.status # owner: ismail # group: ismail user::rwx group::r-x group:SYSTEM:rwx group:Administrators:rwx mask:r-x other:r-x Any ideas? :) Thank you. -- View this message in context: http://cygwin.1069669.n5.nabble.com/TESTERS-n= eeded-New-POSIX-permission-handling-tp117406p117621.html Sent from the Cygwin list mailing list archive at Nabble.com. -- 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