From nobody@FreeBSD.org  Fri Mar  9 10:08:16 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 29ACE106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  9 Mar 2012 10:08:16 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 144F78FC12
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  9 Mar 2012 10:08:16 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q29A8FGf076924
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 9 Mar 2012 10:08:15 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q29A8Fak076923;
	Fri, 9 Mar 2012 10:08:15 GMT
	(envelope-from nobody)
Message-Id: <201203091008.q29A8Fak076923@red.freebsd.org>
Date: Fri, 9 Mar 2012 10:08:15 GMT
From: Stas Verberkt <legolas@legolasweb.nl>
To: freebsd-gnats-submit@FreeBSD.org
Subject: tar(1) manpage advertises --uid and --gid which seem to be not implemented
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         165873
>Category:       bin
>Synopsis:       tar(1) manpage advertises --uid and --gid which seem to be not implemented
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    eadler
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 09 10:10:09 UTC 2012
>Closed-Date:    Sun Mar 11 01:26:56 UTC 2012
>Last-Modified:  Sun Mar 11 01:27:06 UTC 2012
>Originator:     Stas Verberkt
>Release:        9.0-RELEASE
>Organization:
>Environment:
FreeBSD homey.local 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:15:25 UTC 2012     root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Mr. Devin Teske reported on the freebsd-questions list that the switches --uid and --gid would result in an option not implemented failure, although these options are advertised in the manpage [1]. While looking through the source the option indeed seemed not to be there [2]. It was added to the manpage as part of a cleanup process [3].

[1] lists.freebsd.org/pipermail/freebsd-questions/2012-March/239182.html
[2] http://svnweb.freebsd.org/base/releng/9.0/usr.bin/tar/cmdline.c?view=markup
[3] http://svnweb.freebsd.org/base?view=revision&revision=207786
>How-To-Repeat:
execute tar to create an archive with as options "--uid 1337" or "--gid 1337".
>Fix:
Implement the feature or clean the manpage.

>Release-Note:
>Audit-Trail:

From: Mark <markjdb@gmail.com>
To: bug-followup@FreeBSD.org, legolas@legolasweb.nl
Cc:  
Subject: Re: bin/165873: tar(1) manpage advertises --uid and --gid which seem
 to be not implemented
Date: Sat, 10 Mar 2012 00:50:15 -0500

 The options are implemented on 8- and 9-stable and current. I'm not
 sure how exactly this happened - it looks like libarchive and bsdtar
 were moved to contrib/ right after 9 was released, and some upstream
 updates were merged in the process. I guess it was an oversight, but
 there's nothing to do since the options are there now.
State-Changed-From-To: open->closed 
State-Changed-By: eadler 
State-Changed-When: Sun Mar 11 01:26:55 UTC 2012 
State-Changed-Why:  
per Mark 

http://www.freebsd.org/cgi/query-pr.cgi?pr=165873 
Responsible-Changed-From-To: freebsd-bugs->eadler 
Responsible-Changed-By: eadler 
Responsible-Changed-When: Sun Mar 11 01:27:05 UTC 2012 
Responsible-Changed-Why:  
just in case 

http://www.freebsd.org/cgi/query-pr.cgi?pr=165873 
>Unformatted:
