Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Oct 2011 19:03:01 +0200
From:      Romain Garbage <romain.garbage@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   bsdtar --gname switch
Message-ID:  <CAL5Kp4eFnbL9cx5tbBYTdeXMJT3QpzP79QM_a0wMVJH5i9j4_g@mail.gmail.com>
In-Reply-To: <CAL5Kp4dzTM5JDYR9o2nV=hFpV9hguFNe1n5tdPNnKWxFC-8Oqw@mail.gmail.com>
References:  <CAL5Kp4dzTM5JDYR9o2nV=hFpV9hguFNe1n5tdPNnKWxFC-8Oqw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

Following previous advice from questions@, I filed a PR for this
(bin/161749) and I'm forwarding the previous mail to this list:

According to bsdtar(1) manpage, tar has a --gname switch that permits
to set an arbitrary groupname in the tar archive, but:
$ tar -cf foo.tar --gname root bar
tar: Option --gname is not supported
Usage:
=C2=A0List: =C2=A0 =C2=A0tar -tf <archive-filename>
=C2=A0Extract: tar -xf <archive-filename>
=C2=A0Create: =C2=A0tar -cf <archive-filename> [filenames...]
=C2=A0Help: =C2=A0 =C2=A0tar --help

I get the same error for --uname and --gid switches. I'm running
9.0-BETA3 (r226421). Does this have any chances to be corrected in a
not to far away future?

Regards,
Romain



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAL5Kp4eFnbL9cx5tbBYTdeXMJT3QpzP79QM_a0wMVJH5i9j4_g>