Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Oct 2011 16:31:52 -0500
From:      Adam Vande More <amvandemore@gmail.com>
To:        Romain Garbage <romain.garbage@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: bsdtar --gname switch
Message-ID:  <CA%2BtpaK2dK8cPU=SH_0bp7Zt8HEsz1E3Wvbmzzy_aFg2s9z1gow@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
On Sun, Oct 16, 2011 at 3:55 PM, Romain Garbage <romain.garbage@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BtpaK2dK8cPU=SH_0bp7Zt8HEsz1E3Wvbmzzy_aFg2s9z1gow>