Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Oct 2011 16:52:17 GMT
From:      Romain Garbage <romain.garbage@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/161749: bsdtar --gname and --uname switches not working
Message-ID:  <201110171652.p9HGqHbr040996@red.freebsd.org>
Resent-Message-ID: <201110171700.p9HH0Mxd027730@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



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