Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jun 2006 12:25:04 +0200 (CEST)
From:      "Daniel A. Akulenok" <alive@dienub.org>
To:        "Lawrence Horvath" <lordsporkton@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Hiding dot files with ftpd
Message-ID:  <1212.83.92.78.110.1149416704.squirrel@mail.dienub.org>
In-Reply-To: <a1bf75ae0606032349j41f1348k936d10d21a45095b@mail.gmail.com>
References:  <7.0.1.0.2.20060603225657.020a0a98@broadpark.no>  <1840.83.92.78.110.1149374133.squirrel@mail.dienub.org> <a1bf75ae0606032349j41f1348k936d10d21a45095b@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, June 4, 2006 08:49, Lawrence Horvath wrote:
> On 6/3/06, Daniel A. Akulenok <alive@dienub.org> 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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1212.83.92.78.110.1149416704.squirrel>