X-Recipient: archive-cygwin@delorie.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=b1DlKKmhPaoB22QCiRmj+e7TdsaaGMohf9q3RfdYodBSEsQG175Z6
	Cuiw5/JLyyuDyv8gMmxjUvZdYwCDCgv1YQp2KslWel3UVZiB71SW9U/s7N8Py6Wj
	C7drgoQC9enC9maUSPcHNqhml1K73C5JAzt77e7yVGc6YWgQmFJDpA=
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=DRTcZWcfpSkofMse/h5MU0Sk1QA=; b=tRJaSuEHqHgKplJlqqJjh2/8tU56
	dJCMZnur2zx/PdaUwd4EZ+y746eGeuudWxoNQLQORWnRSw+U6gL5P7pQ1XNYHDh2
	HGE5CbQoizGfxpjmb+lGAuIFYgOriY8vrOInN7izmIhh7NsURaxswFBvBc4PwY30
	4hX8c+0yHMIdnGg=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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: Wed, 25 Feb 2015 16:23:30 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: TEST RELEASE: Cygwin 1.7.35-0.3
Message-ID: <20150225152330.GE437@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <20150223201119.GX437@calimero.vinschen.de> <801DB7C4-3F66-468F-B786-0C7575897D98@etr-usa.com> <154114676.20150224063913@yandex.ru> <9D7B3952-86AD-4EA7-8146-E985ADE2FE4D@etr-usa.com> <1528837107.20150225032328@yandex.ru> <BE04216B-2ECD-462D-86E4-AA4E3433FFB7@etr-usa.com> <20150225090115.GW437@calimero.vinschen.de> <90784C48-04A6-4163-9566-43EE4CC0BF1B@etr-usa.com> <20150225150744.GD437@calimero.vinschen.de> <F996F677-DC40-4F15-AD58-2C090257B423@etr-usa.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;	protocol="application/pgp-signature"; boundary="CQ3bIqlPgDWyQ28b"
Content-Disposition: inline
In-Reply-To: <F996F677-DC40-4F15-AD58-2C090257B423@etr-usa.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

On Feb 25 08:17, Warren Young wrote:
> On Feb 25, 2015, at 8:07 AM, Corinna Vinschen <corinna-cygwin@cygwin.com>=
 wrote:
> >=20
> > What about chgrp `id -g=E2=80=99?
>=20
> That does exactly what you *don=E2=80=99t* want here:
>=20
>   $ ls -l id*
>   -rw------- 1 Warren None 1.7K Feb 25 08:12 id_rsa
>   -rw------- 1 Warren None  398 Feb 25 08:12 id_rsa.pub
>=20
>   $ chgrp `id -g` id*
>   $ ls -l id*
>   -rw-rw---- 1 Warren Warren 1.7K Feb 25 08:12 id_rsa
>   -rw-rw---- 1 Warren Warren  398 Feb 25 08:12 id_rsa.pub

Hang on, how come your group is your user account?  That's certainly
not correct and it's certainly not the default, neither with SAM
accounts, nor with domain accounts.  Is that something set in your
passwd/group files?  If so, change it.

> How about this uglier alternative?
>=20
>   $ chgrp `getent group 513 | cut -f1 -d:` ~/.ssh/*
>=20
> =E2=80=9CNone=E2=80=9D has one of the well-known SIDs, doesn=E2=80=99t it?

No.  None is a "real" group account with the same SID as your machine,
plus the attached RID 513.  The gid under the new regime would be...

  $ getent group None $COMPUTERNAME+None
  nutty81+None:S-1-5-21-3229976424-329291882-2774727752-513:197121:

197121


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--CQ3bIqlPgDWyQ28b
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJU7ejyAAoJEPU2Bp2uRE+g08sQAIeAjvkol0IXMNqS7WlBa4RX
Q+LeFY6vTDydDxmLRgKOq/niK1R/ttRDB0NR/fmYCI6KFiQSodn6ArpLeUQv40Rd
QQ1ulgHxiCuCbCgbtUzdVzC3fuivuvCliOGt+lGBitb+mIPWrBSfx5JQJqXj78jR
UCi9mJBlz3hCgzeSbi/XiQwmlupTyRBHjadmIJzR5UHFEPseYTPaZQec2vf2qE3i
njSvQ+gDrtKMIhRqTXDasQOUDoJlhvXgYBs58ttVDwG49ENSYDn/krKTN1UpDKuF
G0lHWqufIubnSPsqROICxRwBg7F/wQ4f7VC6B4pwj1zwA7/tJwnHj6fjgN6tM/wX
NLG9As32vC1jl/MhuRP0Nh4Traf0fLnDHtS2A7aEVbiZrnokAC5RPOxzIk8SHAYw
XA791bWDVPXXWbEBPy/JMLnfwi1OI+CUv2HPPEPW10cgCMYs7oorDyPyuYG0X+I+
X4/PlmdhbECD5VALjGke2Qgk0W37Hvkbf83o3jAD6k4Y5F/Y2N2Smc7ZH1ETXPnu
9ptxJjp/PXgh3XPZvqKJQEogcSrC3u05fUPmc8pzX4MLDXstE7NHEdJeawSB4YaZ
AGFHy6cUqr5KVmOTh8v6S9pmoIDu8vcZaMlKpQ10HxiCDYaq1QsNsE8eHWAlb9GB
qjIuy28wC3FEvbaPXDsj
=W/pN
-----END PGP SIGNATURE-----

--CQ3bIqlPgDWyQ28b--
