delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/05/05/11:42:53

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=EgtYTx+RYHs660UPjB4X513S9WA5jno8sVWs+LpcBqwZ4DCW85YR1
7ASbddIRs9JgUbLPWbgQ9+DpNHqfEBUPJdE76/CH/+kzbvJSlpddCynbMNje4uh7
MF+1nucL/u35lQ4c82Fz6ebSrDJLDe5sb91vj2Uh6kfYk/dwH0UXXY=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=L3iDeZHR8iHYm56cb1ibi7ARyew=; b=q7MDUgjtooc2okOuMucO7LiVVaXd
jCtwlc9ExcrINg32cNGVOqnFX0VuV5aO/WM169+nTICuxvEIZQuIxXyxcAFictM9
jbLtWIGKH8f0941kUeAz6m6EzCXI4Oi46sBqQZWJnEzxrnXuheSIuz3W6xFWbwPk
vUTKkscdC7aGAOg=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Mon, 5 May 2014 17:42:30 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Problem with "None" Group on Non-Domain Members
Message-ID: <20140505154230.GB7694@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <536796E4 DOT 2090009 AT breisch DOT org> <20140505135928 DOT GK30918 AT calimero DOT vinschen DOT de> <53679D5C DOT 5030209 AT breisch DOT org> <20140505144745 DOT GA6993 AT calimero DOT vinschen DOT de> <5367ACED DOT 40409 AT breisch DOT org>
MIME-Version: 1.0
In-Reply-To: <5367ACED.40409@breisch.org>
User-Agent: Mutt/1.5.21 (2010-09-15)

--qcHopEYAB45HaUaB
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 AT vmbert8164 ~
> >   $ chmod 400 bar
> >
> >   vmbert8164+lcorinna AT 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

-----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--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019