From owner-freebsd-questions@FreeBSD.ORG Mon Jun 5 10:32:54 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 EF6E516A4A0 for ; Mon, 5 Jun 2006 10:32:54 +0000 (UTC) (envelope-from kyrreny@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 706F943D45 for ; Mon, 5 Jun 2006 10:32:54 +0000 (GMT) (envelope-from kyrreny@broadpark.no) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0J0D0008QUMTTDB0@osl1smout1.broadpark.no> for freebsd-questions@freebsd.org; Mon, 05 Jun 2006 12:32:53 +0200 (CEST) Received: from urban.broadpark.no ([80.203.212.30]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0J0D0078VUMSCNA0@osl1sminn1.broadpark.no> for freebsd-questions@freebsd.org; Mon, 05 Jun 2006 12:32:53 +0200 (CEST) Date: Mon, 05 Jun 2006 12:33:01 +0200 From: Kyrre Nygard In-reply-to: <1212.83.92.78.110.1149416704.squirrel@mail.dienub.org> To: "Daniel A. Akulenok" , Lawrence Horvath Message-id: <7.0.1.0.2.20060605123104.0209ee00@broadpark.no> MIME-version: 1.0 X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT References: <7.0.1.0.2.20060603225657.020a0a98@broadpark.no> <1840.83.92.78.110.1149374133.squirrel@mail.dienub.org> <1212.83.92.78.110.1149416704.squirrel@mail.dienub.org> 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: Mon, 05 Jun 2006 10:32:55 -0000 At 12:25 04.06.2006, Daniel A. Akulenok wrote: >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. Hello guys! Well, I was just curious, since the option to hide dot files is widely available in most FTP daemons, like vsftpd: hide_file=.* However, it seems, not in FreeBSD's default ftpd? All the best, Kyrre