From owner-cvs-all@FreeBSD.ORG Tue Mar 6 20:46:25 2007 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7C06116A401; Tue, 6 Mar 2007 20:46:25 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (relay0.rambler.ru [81.19.66.187]) by mx1.freebsd.org (Postfix) with ESMTP id 2BB1D13C4A5; Tue, 6 Mar 2007 20:46:25 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (localhost [127.0.0.1]) by relay0.rambler.ru (Postfix) with ESMTP id 4AAA85CF3; Tue, 6 Mar 2007 23:46:24 +0300 (MSK) Received: from edoofus.park.rambler.ru (unknown [81.19.65.108]) by relay0.rambler.ru (Postfix) with ESMTP id 413EB5CD7; Tue, 6 Mar 2007 23:46:24 +0300 (MSK) Received: (from ru@localhost) by edoofus.park.rambler.ru (8.13.8/8.13.8) id l26Kh74I043715; Tue, 6 Mar 2007 23:43:07 +0300 (MSK) (envelope-from ru) Date: Tue, 6 Mar 2007 23:43:07 +0300 From: Ruslan Ermilov To: Tim Kientzle Message-ID: <20070306204307.GD43608@rambler-co.ru> References: <200703061454.l26Esj7D043245@repoman.freebsd.org> <45EDA7E2.4040300@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BI5RvnYi6R4T2M87" Content-Disposition: inline In-Reply-To: <45EDA7E2.4040300@freebsd.org> User-Agent: Mutt/1.5.14 (2007-02-12) X-Virus-Scanned: No virus found Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/usr.sbin/pkg_install/lib url.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 20:46:25 -0000 --BI5RvnYi6R4T2M87 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 06, 2007 at 09:41:54AM -0800, Tim Kientzle wrote: > Ruslan Ermilov wrote: > > Modified files: > > usr.sbin/pkg_install/lib url.c=20 > > Log: > > Invoke tar(1) with the -p option when installing a package > > from an URL (i.e., do it the same way as when installing > > from a file). This fixes the lossage of the setuid bits. > > It wasn't a problem before because GNU tar(1) implied the > > -p option for root, but BSD tar(1) doesn't do that. >=20 > Hmmm... This might actually be considered a bsdtar bug. > I'll look into it. >=20 That behavior of BSD tar(1) surprised me, to be honest. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --BI5RvnYi6R4T2M87 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.2 (FreeBSD) iD8DBQFF7dJbqRfpzJluFF4RArt2AJsEVNCd8xVOW3Fhs+psAfC0Shm9pQCfXbXi 2PtKr9TRsyk9qb626zKVds8= =Odo/ -----END PGP SIGNATURE----- --BI5RvnYi6R4T2M87--