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

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to