bin/161749: bsdtar --gname and --uname switches not working
Romain Garbage
romain.garbage at gmail.com
Mon Oct 17 17:00:22 UTC 2011
>Number: 161749
>Category: bin
>Synopsis: bsdtar --gname and --uname switches not working
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 17 17:00:21 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Romain Garbage
>Release: 9.0-BETA3 (r226421)
>Organization:
>Environment:
FreeBSD freebsd-laptop.toulouse.local 9.0-BETA3 FreeBSD 9.0-BETA3 #0 r226421: Sun Oct 16 13:10:42 CEST 2011 root at freebsd-laptop.toulouse.local:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
According to bsdtar(1) manpage, tar has --gname end --uname switches that permits
to set respectively an arbitrary groupname/username for the files added to the tar archive, but:
$ tar -cf foo.tar --gname root bar
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
>How-To-Repeat:
$ tar -cf foo.tar --gname root bar
$ tar -cf foo.tar --uname root bar
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list