bsdtar --gname switch

Romain Garbage romain.garbage at gmail.com
Sun Oct 16 21:18:58 UTC 2011


Hi,

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 ?

Regards,
Romain


More information about the freebsd-questions mailing list