From owner-freebsd-questions Thu Feb 25 11:49:22 1999 Delivered-To: freebsd-questions@freebsd.org Received: from tim.Desert.NET (tim.Desert.NET [207.182.32.20]) by hub.freebsd.org (Postfix) with ESMTP id A58A014E2B for ; Thu, 25 Feb 1999 11:49:07 -0800 (PST) (envelope-from tim@tim.Desert.NET) Received: (from tim@localhost) by tim.Desert.NET (8.8.8/8.8.8) id MAA17580 for freebsd-questions@freebsd.org; Thu, 25 Feb 1999 12:48:50 -0700 (MST) (envelope-from tim) Message-ID: <19990225124850.X14762@desert.net> Date: Thu, 25 Feb 1999 12:48:50 -0700 From: Thimble Smith To: FreeBSD Support List Subject: ftpd; hiding dot files; FTPD_INTERAL_LS Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello. For the convenience of users (not for any security reasons) I want to hide dot files from users who FTP in to my machine. I've compiled ftpd using FTPD_INTERNAL_LS, and the users are all listed in /etc/ftpchroot. Is there a way to have the FTP LIST, NLST commands not show files whose names start with a dot? I don't care about CWD, STOR, etc.; just the listings. I'm comfortable editing source code; I just can't find the right place to make the edits (removing the A flag from the ls command in libexec/ftpd/ftpcmd.c didn't make any difference). I'm using FreeBSD 2.2.8. I will eventually be moving to 3.0-STABLE. Thanks! Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message