From gad@magoo-04.dynamic.rpi.edu  Sat Oct 14 17:28:51 2000
Return-Path: <gad@magoo-04.dynamic.rpi.edu>
Received: from magoo-04.dynamic.rpi.edu (magoo-04.dynamic.rpi.edu [128.113.24.126])
	by hub.freebsd.org (Postfix) with ESMTP id 8E85D37B66C
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 14 Oct 2000 17:28:50 -0700 (PDT)
Received: (from gad@localhost)
	by magoo-04.dynamic.rpi.edu (8.11.1/8.11.1) id e9EKZjo00441;
	Sat, 14 Oct 2000 16:35:45 -0400 (EDT)
	(envelope-from gad)
Message-Id: <200010142035.e9EKZjo00441@magoo-04.dynamic.rpi.edu>
Date: Sat, 14 Oct 2000 16:35:45 -0400 (EDT)
From: Garance A Drosehn <gad@magoo-04.dynamic.rpi.edu>
Reply-To: gad@eclipse.acs.rpi.edu
To: FreeBSD-gnats-submit@freebsd.org
Cc: gad@eclipse.acs.rpi.edu
Subject: Config of Anonftp (at install) always creates 'incoming'
X-Send-Pr-Version: 3.2

>Number:         21994
>Category:       conf
>Synopsis:       [sysinstall] Config of Anonftp (at install) always creates 'incoming'
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-qa
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 14 17:30:01 PDT 2000
>Closed-Date:    Fri Dec 30 13:49:39 GMT 2005
>Last-Modified:  Fri Dec 30 13:50:04 GMT 2005
>Originator:     Garance A Drosehn
>Release:        FreeBSD 4.1-20001014-STABLE i386
>Organization:
RPI ; Troy, NY
>Environment:

	Just doing an install on a new PC, any PC

>Description:

	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.

	I consider this a bug, but maybe it's intentional.

>How-To-Repeat:

	Install a system.  (I just installed the most recent 4.1-stable
	release, so maybe this is already fixed in 5.x-current?)
	Note that I started the install by booting off the 4.1-release
	CD-ROM, if that is significant to how this works.

>Fix:

	I have not tried to figure out a fix for this yet, but I wanted
	to write the PR while I still remembered it, and right after a
	fairly "up-to-the-minute" install...


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-qa 
Responsible-Changed-By: johan 
Responsible-Changed-When: Wed Aug 21 13:22:10 PDT 2002 
Responsible-Changed-Why:  
Over to sysinstall maintainers. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21994 

From: Ceri Davies <ceri@FreeBSD.org>
To: gad@eclipse.acs.rpi.edu
Cc: FreeBSD-gnats-submit@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?
 
 Ceri
State-Changed-From-To: open->closed 
State-Changed-By: ceri 
State-Changed-When: Fri Dec 30 13:47:37 UTC 2005 
State-Changed-Why:  
Thanks to jhb's cluebat wielding, it's apparent that this is fixed - 
confirmed with a recent 7.0 snapshot. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21994 

From: Ceri Davies <ceri@submonkey.net>
To: John Baldwin <jhb@freebsd.org>
Cc: FreeBSD Gnats Submit <freebsd-gnats-submit@FreeBSD.org>
Subject: Re: conf/21994: Config of Anonftp (at install) always creates 'incoming'
Date: Fri, 30 Dec 2005 13:39:46 +0000

 On Fri, Dec 30, 2005 at 08:31:59AM -0500, John Baldwin wrote:
 > 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@FreeBSD.org>
 > > To: gad@eclipse.acs.rpi.edu
 > > Cc: FreeBSD-gnats-submit@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.
 
 Yes, of course.  Thanks.
 
 Ceri
>Unformatted:
