From owner-freebsd-questions@FreeBSD.ORG Thu Aug 24 20:24:26 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0A2C16A4E5 for ; Thu, 24 Aug 2006 20:24:26 +0000 (UTC) (envelope-from james@icionline.ca) Received: from nf-out-f131.google.com (nf-out-f131.google.com [64.233.182.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58F4D43D49 for ; Thu, 24 Aug 2006 20:24:24 +0000 (GMT) (envelope-from james@icionline.ca) Received: by nf-out-f131.google.com with SMTP id x9so45766nfb for ; Thu, 24 Aug 2006 13:24:23 -0700 (PDT) Received: by 10.35.94.7 with SMTP id w7mr3399631pyl; Thu, 24 Aug 2006 13:24:22 -0700 (PDT) Received: by 10.35.102.12 with HTTP; Thu, 24 Aug 2006 13:24:22 -0700 (PDT) Message-ID: <7039ada60608241324r122c6212l3795361080b2be1a@mail.gmail.com> Date: Thu, 24 Aug 2006 14:24:22 -0600 From: "James Earl" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: ftpd.conf chroot not working X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Aug 2006 20:24:27 -0000 I'm having problems getting the /etc/ftpd.conf chroot command to work. However, if I append a directory after the username in /etc/ftpchroot that does work. It seems like ftpd.conf isn't even getting used. The reason I want to use ftpd.conf is it supposidly allows the use of escape strings such as %u for username. The machine is running 6.0-RELEASE. (doesn't work) ftpd.conf: chroot all /usr/local/www/apache22/data/%u ftpchroot: @client (does work) ftpd.conf: #empty ftpchroot: @client /usr/local/www/apache22/data/usersite James