delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/25/10:23:52

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=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 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: Wed, 25 Feb 2015 16:23:30 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: TEST RELEASE: Cygwin 1.7.35-0.3
Message-ID: <20150225152330.GE437@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20150223201119 DOT GX437 AT calimero DOT vinschen DOT de> <801DB7C4-3F66-468F-B786-0C7575897D98 AT etr-usa DOT com> <154114676 DOT 20150224063913 AT yandex DOT ru> <9D7B3952-86AD-4EA7-8146-E985ADE2FE4D AT etr-usa DOT com> <1528837107 DOT 20150225032328 AT yandex DOT ru> <BE04216B-2ECD-462D-86E4-AA4E3433FFB7 AT etr-usa DOT com> <20150225090115 DOT GW437 AT calimero DOT vinschen DOT de> <90784C48-04A6-4163-9566-43EE4CC0BF1B AT etr-usa DOT com> <20150225150744 DOT GD437 AT calimero DOT vinschen DOT de> <F996F677-DC40-4F15-AD58-2C090257B423 AT etr-usa DOT com>
MIME-Version: 1.0
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 AT cygwin DOT 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--

- Raw text -


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