bsdtar --gname switch

Adam Vande More amvandemore at gmail.com
Sun Oct 16 21:31:53 UTC 2011


On Sun, Oct 16, 2011 at 3:55 PM, Romain Garbage <romain.garbage at gmail.com>wrote:

> According to bsdtar(1) manpage, tar has a --gname switch that permits
> to set an arbitrary groupname in the tar archive, but:
> $ tar -cf test.tar --gname root test.sh
> tar: Option --gname is not supported
> Usage:
>  List:    tar -tf <archive-filename>
>  Extract: tar -xf <archive-filename>
>  Create:  tar -cf <archive-filename> [filenames...]
>  Help:    tar --help
>
> I get the same error for --uname and --gid switches. I'm running
> 9.0-BETA3 (r226421). Did those switches used to work in previous
> releases of FreeBSD ?
>

No they didn't.  I suggest filing a PR and contacting the CURRENT list.

-- 
Adam Vande More


More information about the freebsd-questions mailing list