*BSD News Article 72758


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!inquo!news.seinf.abb.se!nooft.abb.no!Norway.EU.net!nntp.uio.no!news2.interlog.com!news.sprintlink.net!news-fw-12.sprintlink.net!news.cc.sunysb.edu!eric
From: eric@rust.path.sunysb.edu (Eric Brager)
Newsgroups: comp.unix.admin,comp.unix.bsd.freebsd.misc,comp.unix.bsd.bsdi.misc,comp.unix.bsd.misc
Subject: Re: anonymous ftp?
Followup-To: comp.unix.admin,comp.unix.bsd.freebsd.misc,comp.unix.bsd.bsdi.misc,comp.unix.bsd.misc
Date: 3 Jul 1996 19:51:08 GMT
Organization: State University of New York at Stony Brook
Lines: 31
Message-ID: <4reivc$p2s@abel.cc.sunysb.edu>
References: <87hgrppck6.fsf@green.eggtech.com>
NNTP-Posting-Host: rust.path.sunysb.edu
X-Newsreader: TIN [version 1.2 PL2]
Xref: euryale.cc.adfa.oz.au comp.unix.admin:44429 comp.unix.bsd.freebsd.misc:22741 comp.unix.bsd.bsdi.misc:4219 comp.unix.bsd.misc:1201

Mike Eggleston (mikee@eggtech.com) wrote:
: I want to create an anonymous ftp site where I work and have a few
: questions.  Inside the /pub directory I want to have a /private that
: only local users can use.  That seems ease with a permissions of 770.
: I also want to have a directory for customers to get fixes from us
: directly.  I tried making this directory 774 and to get the ftp daemon
: to read files from that directory if the full filename was given, but
: I'm getting permissions errors.  The directory is not owned by ftp.

Well I assume that you have already used the config_anonftp
command that sets up basic anonymous ftp.

I don't know if this helps at all but the way I have it set up
is a dir with the same group as the users that want to use it.
That way when they ftp they can put things in there when the
ftp with thier user names and passwords. 

Or let them create the dir there themselves and their user and 
group id will auto be appropriate.

Then of course you're looking at a /usr dir.

I mean if they're anonymously ftping then they're logged in as
ftp and have all the perms of the user ftp. 

I of course am talking in circles. Think about what uid and gid
the dir has and then think about modes.

-Eric

(feel free for someone to asnwer my popper/smtp problem)