cvs commit: src/usr.sbin/pkg_install/lib url.c
Tim Kientzle
tim at kientzle.com
Thu Mar 8 07:23:09 UTC 2007
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
More information about the cvs-src
mailing list