From owner-freebsd-bugs@FreeBSD.ORG Thu Jun 14 04:10:04 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 98F4716A46C for ; Thu, 14 Jun 2007 04:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 5B39D13C468 for ; Thu, 14 Jun 2007 04:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l5E4A4XW040789 for ; Thu, 14 Jun 2007 04:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l5E4A4Mh040788; Thu, 14 Jun 2007 04:10:04 GMT (envelope-from gnats) Resent-Date: Thu, 14 Jun 2007 04:10:04 GMT Resent-Message-Id: <200706140410.l5E4A4Mh040788@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Edwin Groothuis Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8EFC316A468 for ; Thu, 14 Jun 2007 04:09:37 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: from mail4out.barnet.com.au (mail4.barnet.com.au [202.83.178.125]) by mx1.freebsd.org (Postfix) with ESMTP id 40C5613C43E for ; Thu, 14 Jun 2007 04:09:36 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: by mail4out.barnet.com.au (Postfix, from userid 1001) id 29A1B37DA1F; Thu, 14 Jun 2007 14:09:35 +1000 (EST) Received: from mail4auth.barnet.com.au (mail4.barnet.com.au [202.83.178.125]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mail4.barnet.com.au (Postfix) with ESMTP id E85904226B1 for ; Thu, 14 Jun 2007 14:09:34 +1000 (EST) Received: from k7.mavetju (k7.mavetju.org [10.251.1.18]) by mail4auth.barnet.com.au (Postfix) with ESMTP id 8C0AB37D991 for ; Thu, 14 Jun 2007 14:09:34 +1000 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id 3E59AAB; Thu, 14 Jun 2007 14:09:34 +1000 (EST) Message-Id: <20070614040934.3E59AAB@k7.mavetju> Date: Thu, 14 Jun 2007 14:09:34 +1000 (EST) From: Edwin Groothuis To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: bin/113669: ftpchroot(5) / ftpusers(5) doesn't do globbing X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Edwin Groothuis List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2007 04:10:04 -0000 >Number: 113669 >Category: bin >Synopsis: ftpchroot(5) / ftpusers(5) doesn't do globbing >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jun 14 04:10:03 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Edwin Groothuis >Release: FreeBSD 6.2-RELEASE-p4 i386 >Organization: - >Environment: System: FreeBSD k7.mavetju 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:55:55 UTC 2007 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/SMP i386 >Description: ftpchroot(5) and ftpusers(5) say: The syntax of each line is: userglob[:groupglob][@host] [directive [class]] These elements are: userglob matched against the user name, using fnmatch(3) glob matching (e.g, `f*'). But that function isn't used anywhere in the src/libexec/ftpd, nor can I find any evidence in the checkuser() funtion that it some kind of globbing is done. >How-To-Repeat: >Fix: I'm not sure how the manpage and the sourcecode of ftpd relate at this moment. >Release-Note: >Audit-Trail: >Unformatted: