Date: Wed, 07 Mar 2007 23:23:06 -0800 From: Tim Kientzle <tim@kientzle.com> To: Tim Kientzle <tim@kientzle.com> Cc: src-committers@FreeBSD.org, Bruce Evans <bde@zeta.org.au>, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org, Tim Kientzle <kientzle@FreeBSD.org>, Ruslan Ermilov <ru@FreeBSD.org>, Greg 'groggy' Lehey <grog@FreeBSD.org> Subject: Re: cvs commit: src/usr.sbin/pkg_install/lib url.c Message-ID: <45EFB9DA.3030704@kientzle.com> In-Reply-To: <45EFB6C8.7050008@kientzle.com> References: <200703061454.l26Esj7D043245@repoman.freebsd.org> <45EDA7E2.4040300@freebsd.org> <20070306204307.GD43608@rambler-co.ru> <20070306231228.GC68567@wantadilla.lemis.com> <45EE3BC4.8070309@freebsd.org> <20070307171432.B28541@delplex.bde.org> <20070307111745.GB14172@rambler-co.ru> <45EFB6C8.7050008@kientzle.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Tim Kientzle wrote: >>>> ... GNU tar(1) implied the >>>> -p option for root, but BSD tar(1) doesn't do that. Ah. Here we are: contrib/tar/src/extract.c, revision 1.2 (07-Jun-2002) by sobomax +#ifndef __FreeBSD__ same_permissions_option += we_are_root; same_owner_option += we_are_root; +#endif This disabled -p as the default for root in FreeBSD builds of GNU tar. This change was first released in FreeBSD 4.7 as far as I can tell. This does beg the question whether bsdtar should follow FreeBSD GNU tar or FSF GNU tar? Tim Kientzle
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45EFB9DA.3030704>