Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Mar 2007 23:43:07 +0300
From:      Ruslan Ermilov <ru@freebsd.org>
To:        Tim Kientzle <kientzle@freebsd.org>
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
Message-ID:  <20070306204307.GD43608@rambler-co.ru>
In-Reply-To: <45EDA7E2.4040300@freebsd.org>
References:  <200703061454.l26Esj7D043245@repoman.freebsd.org> <45EDA7E2.4040300@freebsd.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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 
> >  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.
> 
> Hmmm...  This might actually be considered a bsdtar bug.
> I'll look into it.
> 
That behavior of BSD tar(1) surprised me, to be honest.


Cheers,
-- 
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.2 (FreeBSD)

iD8DBQFF7dJbqRfpzJluFF4RArt2AJsEVNCd8xVOW3Fhs+psAfC0Shm9pQCfXbXi
2PtKr9TRsyk9qb626zKVds8=
=Odo/
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070306204307.GD43608>