From owner-freebsd-questions Sun May 17 20:10:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA18761 for freebsd-questions-outgoing; Sun, 17 May 1998 20:10:18 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from super-g.inch.com (super-g.com [207.240.140.161]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA18734 for ; Sun, 17 May 1998 20:10:06 -0700 (PDT) (envelope-from spork@super-g.com) Received: from localhost (localhost [127.0.0.1]) by super-g.inch.com (8.8.8/8.8.5) with SMTP id XAA19870; Sun, 17 May 1998 23:09:26 -0400 (EDT) Date: Sun, 17 May 1998 23:09:26 -0400 (EDT) From: spork X-Sender: spork@super-g.inch.com To: Kurt Jones cc: questions@FreeBSD.ORG Subject: Re: ftpd problem with ftpchroot In-Reply-To: <3.0.5.32.19980518072921.009fe6f0@woftam.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You either want to compile ftpd with internal "ls" support or put a static "ls" in ~/bin/ Since they are chroot-ed, ftpd doesn't have access to the ls command to show them the files unless you use one of the above options. I used the former, and it works well. You'll know you've done right when you ftp in and see: 220 motel-6.inch.com FTP server (Version 6.00LS) ready. ^^ You can set the compile option in /etc/make.conf with this line: FTPD_INTERNAL_LS= true Good Luck! Charles Charles Sprickman spork@super-g.com ---- "I'm not a prophet or a stone-age man Just a mortal with potential of a superman I'm living on" -DB On Mon, 18 May 1998, Kurt Jones wrote: > Hello Everyone, > > I have discovered that if I put a users name in ftpchroot that the users > home directory becomes their ftp root directory. Cool. That seems to work > fine. Unfortunately, if I do that nothing but "/" is visible to the users > FTP client (at least with Cute-FTP which I am testing with). They can > upload and download happily, the transfers are completed correctly but the > files are not visible to the client (althought they are present). > > Any ideas? > > Regards, > > > Kurt > > ---------------------------------------------------------------- > Kurt Jones - WOFTAM Jones Pty Ltd > Ph:+61 3 9735 5386 www.woftam.com.au > ---------------------------------------------------------------- > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message