From owner-freebsd-ports@FreeBSD.ORG Mon Jan 27 15:46:41 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BE59AF24 for ; Mon, 27 Jan 2014 15:46:41 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 60DEF15BA for ; Mon, 27 Jan 2014 15:46:41 +0000 (UTC) Received: from ox-dell39.ox.adestra.com (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.7/8.14.7) with ESMTP id s0RFkVmq013269 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 27 Jan 2014 15:46:36 GMT (envelope-from m.seaman@infracaninophile.co.uk) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk s0RFkVmq013269 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1390837596; bh=tMQ17kLxjedAuq4PMvRebCLKwm8aN3D88S4AvefZHes=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Mon,=2027=20Jan=202014=2015:46:21=20+0000|From:=20Matthew =20Seaman=20|To:=20"Montgomery-Sm ith,=20Stephen"=20,=20=0D=0A=20"freebsd-port s@freebsd.org"=20|Subject:=20Re:=20Ques tions=20about=20staging|References:=20<52E5AA90.4060800@missouri.e du>=20<52E605BB.1030601@infracaninophile.co.uk>=20<52E6727E.804030 4@missouri.edu>|In-Reply-To:=20<52E6727E.8040304@missouri.edu>; b=ObfM78+Y2kVoBiJWYYQK8iqd39mJM2gzHrLQIVsYqEPG8sG9/Dv49MTTCSPbstlVV XxFi7EqWADZLiIBQbqNgL3bXk1t+3veXJPO9mi4qIp5G6pY0jJmSUr9O9NdCHH6g+E 6CI+uVq/CaeJeIyXxSjJMF2juDcdgipU/E2NCJuI= X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be ox-dell39.ox.adestra.com Message-ID: <52E67F4D.2040908@infracaninophile.co.uk> Date: Mon, 27 Jan 2014 15:46:21 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: "Montgomery-Smith, Stephen" , "freebsd-ports@freebsd.org" Subject: Re: Questions about staging References: <52E5AA90.4060800@missouri.edu> <52E605BB.1030601@infracaninophile.co.uk> <52E6727E.8040304@missouri.edu> In-Reply-To: <52E6727E.8040304@missouri.edu> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qGnVb3STVOWf3u0oDQ2CQ575A5hhn3Us3" X-Virus-Scanned: clamav-milter 0.98 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,DCC_CHECK, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RDNS_NONE autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jan 2014 15:46:41 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --qGnVb3STVOWf3u0oDQ2CQ575A5hhn3Us3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 01/27/14 14:51, Montgomery-Smith, Stephen wrote: > So it would only be necessary to do this if you want to set ownership > to anything other than root:wheel, since the pkg install program > should automatically set things to root:wheel anyway? (Because things > installed the usual "make install" way will be set similarly?) Yes, absolutely. Files will be installed with ownership by root:wheel by default, unless there are post-install script actions (ie. generally derived from @user / @group settings in pkg-plist) irrespective of what ownership they have in staging. There is a 'NEED_ROOT' compatibility thing but that's not ideal, and I believe the plan is ultimately to do away with it as part of the switch over to staging. > And presumably the same for chmod - it would only be necessary when > setting things like setuid or setgid bits, since otherwise it will > merely copy permissions from whatever the file in the tarball has? Yes -- exactly. Anything involving chown / chgrp / chmod that requires root level privileges should be done this way. Cheers, Matthew --qGnVb3STVOWf3u0oDQ2CQ575A5hhn3Us3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJ8BAEBCgBmBQJS5n9UXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnhdUP/2YEFDJ+FRUv8dJMDfps+7Yv LDJM3+I9cWOO0cancD7OD/LMs8din3YW+c4uZa+op5NB8p8sTU1YtLGgfdHgvhjG ZcBbTruCV3xZ82yJIvaOfUJOFoqmUQDtCIURrvMYYSriH+w0udmJTK0NkPf72AqD oj5in05Q7hKUjUGFTcsMP/0UQgZwuD+P9T5gXxkbLzv0TL61GQ3C6+pUBolQpuoU eLxZ308So71HLesAvqZXE/z+5VFPe+0qkXTf23FtRTqXDq1BXxOucqpUSuxO6gLk 9xt93pM4jcUnp3DyNk+VC622tMVZHlpa70c+kqqXa45F3SRk8cChBESsIsKv9pet Pw8Y56IK/rhTY29OYuVRCkA2Kw9e0KEpImn2m9xxKvmSwUKX7ofV6yaXGDyp/LnM GBRXGdRlAmk7CQP2w3qsvN4gwTFFveqpUAUtwvA4i1xYhgZIihEAe7EDJMIEvZzg mUCw7tiq6l+sntKEkyGsZ+pJp4bhVzJs/b+40UWmpq3gnF+Lj2JulqIOi67sWbc3 m2BSHc7n5GJEunqEss9717R/kyruG+wr0CctFfQNvnWOCO9MYC8QNP+ZTC3bFHho b/VuRPN8hNie57PFK9tN06yGRgO2vgDi1rlOMZNhCeDXbsEYThxpsA6krpl1Fcq3 TzjA588DEOTJpo8w+Pfw =VL6O -----END PGP SIGNATURE----- --qGnVb3STVOWf3u0oDQ2CQ575A5hhn3Us3--