From owner-freebsd-questions@FreeBSD.ORG Sun Jun 4 10:25:07 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 259C816A580 for ; Sun, 4 Jun 2006 10:25:07 +0000 (UTC) (envelope-from alive@dienub.org) Received: from pfepa.post.tele.dk (pfepa.post.tele.dk [195.41.46.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70A1043D45 for ; Sun, 4 Jun 2006 10:25:06 +0000 (GMT) (envelope-from alive@dienub.org) Received: from m00h.dienub.org (dienub.org [87.49.144.133]) by pfepa.post.tele.dk (Postfix) with ESMTP id CA64AFAC066; Sun, 4 Jun 2006 12:25:04 +0200 (CEST) Received: from mail.dienub.org (localhost [127.0.0.1]) by m00h.dienub.org (Postfix) with ESMTP id 57A3D1CC0C; Sun, 4 Jun 2006 12:25:04 +0200 (CEST) Received: from 83.92.78.110 (SquirrelMail authenticated user alive) by mail.dienub.org with HTTP; Sun, 4 Jun 2006 12:25:04 +0200 (CEST) Message-ID: <1212.83.92.78.110.1149416704.squirrel@mail.dienub.org> In-Reply-To: References: <7.0.1.0.2.20060603225657.020a0a98@broadpark.no> <1840.83.92.78.110.1149374133.squirrel@mail.dienub.org> Date: Sun, 4 Jun 2006 12:25:04 +0200 (CEST) From: "Daniel A. Akulenok" To: "Lawrence Horvath" User-Agent: SquirrelMail/1.4.6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-questions@freebsd.org Subject: Re: Hiding dot files with ftpd 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: Sun, 04 Jun 2006 10:25:07 -0000 On Sun, June 4, 2006 08:49, Lawrence Horvath wrote: > On 6/3/06, Daniel A. Akulenok wrote: >> On Sat, June 3, 2006 22:57, Kyrre Nygard wrote: >> > >> > What's up all? >> > >> > Just wondering if it's possible to hide dot files somehow >> > with FreeBSD's default ftpd when I invoke it from inetd? >> > >> > ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l >> > ftp stream tcp6 nowait root /usr/libexec/ftpd ftpd -l >> > >> > Thanks, >> > Kyrre >> > >> > _______________________________________________ >> > freebsd-questions@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> > To unsubscribe, send any mail to >> > "freebsd-questions-unsubscribe@freebsd.org" >> > >> Hi Kyrre, >> Files prepended with dots in UNIX operating systems usually symoblize a >> file which is not shown to the user on a regular basis because the user >> will actually not _need_ to know of it's prescense in daily use. >> Therefore, it is entirely up to the FTP client of the user if files >> prepended with dots are shown or not. >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > > Is there a way to get the ftp server to not list the dot prepended > files? if say you REALLY don't want the client to see the files, can > you get the server to not send it in a "list" reply? and by the same > means could you get the server to not list dirs as well?(that was just > being my curiosity) > > -- > -Lawrence > As far as I know, you can only achieve that by hacking the ftpd itself. If you want users to only be able to see a certain set of files, you should create a user with ftproot in an empty directory which only contains the files they are allowed to see/use.