cvs commit: src/usr.sbin/pkg_install/lib url.c

Tim Kientzle tim at kientzle.com
Thu Mar 8 07:21:12 UTC 2007


>>>... 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.

Now I'm confused.  Why were you surprised by this?

According to some notes I have from June 2004, FreeBSD's
version of GNU tar didn't assert -p by default for root.
(That's why bsdtar already implements --no-same-permissions
as an undocumented no-op.)

I believe this was a local variation from the "official"
GNU tar sources, though I don't yet know when that was done.
Time for some CVS archeology, I think.

???

Tim Kientzle


More information about the cvs-src mailing list