[CentOS] /bin/tar bug

Mon Jun 26 15:58:31 UTC 2006
Ralph Angenendt <ra+centos at br-online.de>

Paul Griffith wrote:
> % /bin/tar --version
> tar (GNU tar) 1.14
> 
> --same-owner     try extracting files with the same ownership
> --no-same-owner  extract files as yourself
> 
> Compatibility options:
>   -o   when creating, same as --old-archive
>        when extracting, same as --no-same-owner

The info page tells something different:

`-o'
     When creating -- `--no-same-owner', when extracting --
     `--portability'.

     The later usage is deprecated. It is retained for compatibility
     with the earlier versions of GNU `tar'. In the future releases
     `-o' will be equivalent to `--no-same-owner' only.

The manual page says:

     -o, --old-archive, --portability
            write a V7 format archive, rather than ANSI format

So yes, there is a bug somewhere, but I'm not really sure, where it is.

I'd file it as a documentation bug inside of tar.

Ralph
-- 
Ralph Angenendt......ra at br-online.de | .."Text processing has made it possible
Bayerischer Rundfunk...80300 München | ....to right-justify any idea, even one
Programmbereich.Bayern 3, Jugend und | .which cannot be justified on any other
Multimedia.........Tl:089.5900.16023 | ..........grounds." -- J. Finnegan, USC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20060626/c89409b5/attachment-0005.sig>