From nobody@FreeBSD.org  Fri Feb 26 10:25:58 2010
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 BC7A21065673
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 26 Feb 2010 10:25:58 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id AB12A8FC13
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 26 Feb 2010 10:25:58 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o1QAPvCE007336
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 26 Feb 2010 10:25:57 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o1QAPvao007334;
	Fri, 26 Feb 2010 10:25:57 GMT
	(envelope-from nobody)
Message-Id: <201002261025.o1QAPvao007334@www.freebsd.org>
Date: Fri, 26 Feb 2010 10:25:57 GMT
From: Takanori Watanabe <takawata@init-main.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Installing BSD unzip utility in base system may lead to confusing.
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         144316
>Category:       bin
>Synopsis:       Installing BSD unzip(1) utility in base system may lead to confusing.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 26 10:30:03 UTC 2010
>Closed-Date:    Fri Feb 26 12:01:22 UTC 2010
>Last-Modified:  Fri Feb 26 12:01:22 UTC 2010
>Originator:     Takanori Watanabe
>Release:        FreeBSD 9.0-CURRENT
>Organization:
Private
>Environment:
FreeBSD konata.init-main.com 9.0-CURRENT FreeBSD 9.0-CURRENT #29 r203274M: Sun Jan 31 21:14:50 JST 2010     
>Description:
FreeBSD unzip utility do not  extract archive with password set.

When extracting such archive, I used unzip(1) installed from ports, though I use normal 
zip archive with FreeBSD-tar.

After BSD unzip utility comes to the base, I cannot extract such archive, because
the BSD unzip utility is executed instead of normal unzip utility.

>How-To-Repeat:
Try to unzip archive with password, in clean installed account, with unzip-port installed.
>Fix:
chmod a-x /usr/bin/unzip 
or
move /usr/local/bin to the head of your command search PATH.

The best solution is to support extracting archive with password.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: remko 
State-Changed-When: Fri Feb 26 12:01:20 UTC 2010 
State-Changed-Why:  
You can set the PATH environment variable yourself; if you require this, 
you should handle this. This goes for all ports that might replace base 
applications (like named for example). 

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