conf/21994: Config of Anonftp (at install) always creates
'incoming'
John Baldwin
jhb at freebsd.org
Fri Dec 30 05:34:57 PST 2005
On Thursday 29 December 2005 06:20 pm, Ceri Davies wrote:
> The following reply was made to PR conf/21994; it has been noted by GNATS.
>
> From: Ceri Davies <ceri at FreeBSD.org>
> To: gad at eclipse.acs.rpi.edu
> Cc: FreeBSD-gnats-submit at freebsd.org
> Subject: Re: conf/21994: Config of Anonftp (at install) always creates
> 'incoming' Date: Thu, 29 Dec 2005 23:19:44 +0000
>
> On Sat, Oct 14, 2000 at 04:35:45PM -0400, Garance A Drosehn wrote:
> > During the installation process, one has the option of enabling
> > anonymous FTP. I do want anonymous FTP, but I never want to
> > create an 'incoming' (world writable) directory. In the screen
> > for "Anonymous FTP configuration", there is a field called
> > "Upload subdirectory" which defaults to "incoming". I delete
> > the word "incoming", leaving a null field. This seems like a
> > logical way to say that I don't want ANY upload directory.
> > However, the install process still creates ~ftp/incoming, and
> > makes it world-writable.
>
> This is still a problem, despite the help text on this screen
> suggesting that leaving the field blank is ok.\
>
> Where do you suggest that the FTP user's home directory is set to
> instead? /var/empty perhaps?
You don't need to change that directory. That home directory still needs to
exist and is where anon ftp files go. It just needs to not create the
world-writable incoming directory if that field is blank.
--
John Baldwin <jhb at FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" = http://www.FreeBSD.org
More information about the freebsd-qa
mailing list