delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/06/18/06:17:12

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=DWSkJsc64E7q/+DJmlDzhq/zcZK4Js3IzSyyX05/rWhkjr/RnOayF
Vjpj2RweLkg6VswkvKV2/Fl76eHhpgLnBEgHQIN7m91SHwJgWkFBQrnP/fRcGvjN
EThegaHgmOKBf5z5k+fjyC3PwGmASsakzDBAAdRs3IdA8mx3oW4fsc=
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=6YK+YdqhKYxk0L42t9YNoU1troI=; b=vejD1IkE29TOCvVkVNIEceqEdste
N+APBmqy5IuQUHvYq6WURvHX1BZMm8OrC6Y6LI+rEDqmTOsaBFF1G2cJbjpKP1qT
Lyq7VTKwWfWRSpsOsArAr9eqnYy0832w8VT40Af3AhT/5PVQ64XBCwmh7NmiJIHd
q4XO4FAMq4Or8K8=
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, 18 Jun 2014 12:16:48 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Website: Package listing not working + cygport query
Message-ID: <20140618101648.GX23700@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <5395FA98 DOT 5050005 AT tiscali DOT co DOT uk> <20140617143111 DOT GF7138 AT ednor DOT casa DOT cgf DOT cx> <20140617153200 DOT GA6910 AT ednor DOT casa DOT cgf DOT cx> <53A11DDD DOT 6050102 AT cygwin DOT com> <297930945 DOT 20140618133458 AT yandex DOT ru>
MIME-Version: 1.0
In-Reply-To: <297930945.20140618133458@yandex.ru>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

On Jun 18 13:34, Andrey Repin wrote:
> Greetings, Yaakov Selkowitz!
>=20
> >> Yaakov, wouldn't it make sense not to just use 0/0 as user/group when
> >> generating packages with cygport by forcing --owner=3D0, --group=3D0 t=
o the
> >> tar command?  I'm not suggesting that this is the right way to fix this
> >> particular problem but I don't think it's a good idea to leak people's
> >> names and groups out onto the interwebs if we can help it.  It will al=
so
> >> make the packages slightly smaller.
>=20
> > That would undermine any legitimate specification of gid/uid.  I would=
=20
> > like to see how this is handled in the Linux distros first.
>=20
> IMO, if you DO need to have specific ownership on specific files, you oug=
ht to
> use postinstall scripts to amend the situation to your expectations.
>=20
> P.S.
> The packages I personally know use 'install' to place specific files with
> specific uid/gid/access bits.

Another point is, the ownership of the files in the tar file is pretty
much useless.  They reflect another system with different user accounts,
and the installer (be it rpm or our setup) use different accounts to
create the files under anyway.  Setting the uid/gid values in our tar
files to some arbitrary fixed values like 0/0 or 544/544 is fine.


Corinna

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

--JWOY2/vB4uO4FuME
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJToWcQAAoJEPU2Bp2uRE+g84AQAJaIKZzAI9c1jcoffRrlvsyx
DktkIc/m1FqD6M6F/NX0owkAGJUzw5I70OFVHrgF9Kd0vedYPUajybrXVDlrI7fD
bpEZJnlWF5hTtqhyyO73a0qxUpPG5/YF1VbKFsIOOlrgh6/fujs5+0/DsOxWQKt0
KlvbN7l6rWN/9u5YdIJ6FvN/mFEiv0usbrl6colJS3pvFMnvmgKyrGUhH52UA4FA
rhy79tTltyjbz1rwLI4e9x/6iklPo9YeQ3Z1Fs2QgkZfJRRBJPza9H5qb5bfTamp
Mfva0vK8JZo7fbDUr1PEj4fgUOpG6ev1NOybkjNORWq11PpflHzMW35R1la6z/uC
NDs1Zwybv5QhkkGdUPJufMBdr0G5NnF7gQfa23SeA1Eufrm4Gfdfpkbg9Jb72GEX
BnnbNoDNwiS78cv8t+OuOCvNiQxZ2NA2y3w8AsjMBDL+SIPcEplUU0oTT1vTa+Eq
Q/g7zvePU4DboUQgpTC+4kgI9/CrW7XEQRcVtoXfRaCdGoEenEuMoTJWxpnmJhgi
j4ozqbGJfCJWeAdJ1iznRO4g/Hqtg8RaUWsG37f7LOLY8NLclyONazUClyih8RJc
DN/ueRr2R25KloIFDMslEEccIsJHYIOvGsaYptZ28mTp9MsyWraLVDwk1CilT0Ge
z7Cdbew7x1VqeCd+RQwn
=WiHH
-----END PGP SIGNATURE-----

--JWOY2/vB4uO4FuME--

- Raw text -


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