From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29553 invoked by alias); 5 May 2014 15:42:35 -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 29541 invoked by uid 89); 5 May 2014 15:42:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham 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; Mon, 05 May 2014 15:42:33 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 8A46C8E09EA; Mon, 5 May 2014 17:42:30 +0200 (CEST) Date: Mon, 05 May 2014 15:42:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Problem with "None" Group on Non-Domain Members Message-ID: <20140505154230.GB7694@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <536796E4.2090009@breisch.org> <20140505135928.GK30918@calimero.vinschen.de> <53679D5C.5030209@breisch.org> <20140505144745.GA6993@calimero.vinschen.de> <5367ACED.40409@breisch.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qcHopEYAB45HaUaB" Content-Disposition: inline In-Reply-To: <5367ACED.40409@breisch.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2014-05/txt/msg00065.txt.bz2 --qcHopEYAB45HaUaB Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 2788 On May 5 11:23, Chris J. Breisch wrote: > Corinna Vinschen wrote: > > > >I wasn't talking about the POSIX permissions, but about the Windows > >ACL. In your current dir, what does `icacls .' print? Maybe that > >gives a clue. >=20 > Mea culpa. I should read better. I could have included that the last time. >=20 > $ icacls . > . WIN8-VM\Chris:(F) > BUILTIN\Users:(RX) > Everyone:(RX) > NT AUTHORITY\Authenticated Users:(OI)(CI)(IO)(M) > CREATOR OWNER:(OI)(CI)(IO)(F) > CREATOR GROUP:(OI)(CI)(IO)(RX) > Everyone:(OI)(CI)(IO)(RX) >=20 > Successfully processed 1 files; Failed processing 0 files >=20 > That doesn't seem too terribly strange to me. >=20 > > > >>[...] > >>Taking the example one step farther: > >> > >>$ chmod 600 bar > >>$ ls -l bar > >>-rw-rw---- 1 Chris None 0 May 5 10:10 bar > >>$ chmod 400 bar > >>$ ls -l bar > >>-r--r----- 1 Chris None 0 May 5 10:10 bar > > > > vmbert8164+lcorinna@vmbert8164 ~ > > $ chmod 400 bar > > > > vmbert8164+lcorinna@vmbert8164 ~ > > $ ls -l bar > > -r-------- 1 vmbert8164+lcorinna vmbert8164+None 0 May 5 16:41 bar > > > >So I'd say it's not a generic issue but something in your environment. > >It would be nice to know what that is, of course. Maybe there's some > >security setting?!? > > >=20 > Thanks for looking into this, Corinna. Apparently this is my > problem, and not a Cygwin/Windows issue. That's rather odd, because > the two machines I have tested this on are nothing alike, other than > both being Windows 8.1 machines. They weren't even set up by the > same people, or following the same (or any) script. >=20 > In both cases, I am logging on to the machine with a "Microsoft > Account": http://www.microsoft.com/en-us/account/default.aspx Hmm, maybe that's the problem. This "Microsoft Account" stuff might influence how the underlying OS handles permissions. I would never touch this stuff ;) For testing you could try to create a normal local account, add it to /etc/passwd and run the above under this account. If it behaves differently (correct, that is), it's a something weird with these MS accounts. But then again, I wouldn't know how to "fix" this, other=20 than to suggest to use a normal account instead. > I'll dig a little more on my own. I don't want to waste bandwidth on > the Cygwin list for what appears to be a Stupid User Error. Nah, at this point we really don't know why this happens on your machine and it could easily be somebody elses fault. An strace of `chmod 400 bar' might sched some light on this issue, but I have a gut feeling the underlying WIndows call will not even return an error code... Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --qcHopEYAB45HaUaB Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJTZ7FmAAoJEPU2Bp2uRE+gR0cP/i0ZgND5xqQwbGD4DpHIa5cf CapJibmdWNrz7foBliV+rtxAK/NDuIEBJ3II8E0NfxVVqtzMrwKRnXhCSg9eKp2M 9tmJo3XGoZzPQhltCtTO+/9QMssO0yScRrhHRSHtWVYTmZBrp1if3Rih+mBBveL5 O/hHb5t8iU+WxSSMoAkhiHrXk8ZmQ51oVoqm8/VAMdCyGVrfWykoqA/jUxZ/o4DW /21M8C8TI4l4CeUAa6Av7g8ZswfkfVLX05xH0fyr88gd97S6vntz7xD6m3DCdrP6 ix/V2WClUweliNzKbUlI/rdRtzm6qfm131UfTDCK7KXqe/7qWQEuF4/DYABIiAvQ HULIYezIn/0rRoSfd9L/fwQvsgT00OWasMevHWV3j9LsmryVkRCIvdxEDJ+cu4yQ D07bZwVWVaQYTdNpb/ID01C9cGJBCXzZ7e4xy6tbbRqO+ujr8fzwMsqYVup9p2gc fWqzZ0H/98gEAZob/H9aDHcY6eQOWos2Fpx9SmXSJYFLtxJ8VHovNCwFHIh+p2lG eekLYgY1v7sig1PYXIgX8BI65eNBjF5Ylb2/iKkOYHXyZyjJV+TBHt/HxI8y0uaB hnXjvhD5K/xUiqRsJBCtqlMwM/LOaZlFX0IOd5XFNszvp7pwOlFiOCyV52xsAWSI 8Gd7CCUcmEjeWqsZt56M =G/fr -----END PGP SIGNATURE----- --qcHopEYAB45HaUaB--