Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Feb 1996 10:43:11 -0800 (PST)
From:      Doug White <dwhite@riley-net170-164.uoregon.edu>
To:        jolp <jolp@peerlogic.com>
Cc:        questions@freebsd.com
Subject:   Re: Problems using FreeBSD for anonymous FTP
Message-ID:  <Pine.BSF.3.91.960221103706.4189G-100000@riley-net170-164.uoregon.edu>
In-Reply-To: <12a62400@peerlogic.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 20 Feb 1996, jolp wrote:

>      I ran through all of the Novice config on a host to set it up as an 
>      Anonymous FTP server.  Everything went smoothly, except I expected 
>      that anonymous users would be able to write only to the incoming 
>      (/usr/ftp/incoming) directory and not the pub (/usr/ftp/pub) 
>      directory.  The permissions on /usr/ftp/pub show "drwxrwxr-x for 
>      owner=root and group=operator.

You need to realign the ftp site so that it is owned by another user 
other than root.  We created a user "ftpadmin" and a group "ftpadm" and 
chown'd the entire pub/ tree to him, and set up a nightly task to reset 
the owner  back to ftpadmin and the permissions are to (what you 
have above, in any case).  

Add everyone who will be playing in the ftp site to group ftpad.

Hope this helps.  We just did this a few days ago, and I'm not 100% sure 
on the procedure.

Doug White                              | University of Oregon  
Internet:  dwhite@gladstone.uoregon.edu | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960221103706.4189G-100000>