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