Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Oct 2011 22:55:38 +0200
From:      Romain Garbage <romain.garbage@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   bsdtar --gname switch
Message-ID:  <CAL5Kp4dzTM5JDYR9o2nV=hFpV9hguFNe1n5tdPNnKWxFC-8Oqw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAL5Kp4dzTM5JDYR9o2nV=hFpV9hguFNe1n5tdPNnKWxFC-8Oqw>