home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.protocols.tcp-ip
- Path: sparky!uunet!mcsun!sunic!ugle.unit.no!Steinar.Haug
- From: Steinar.Haug@delab.sintef.no (Steinar Haug)
- Subject: Re: How to control permissions on incoming FTP?
- In-Reply-To: barmar@think.com's message of 30 Jul 1992 06:32:53 GMT
- Message-ID: <STEINAR.HAUG.92Jul30100516@delab.sintef.no>
- Sender: news@ugle.unit.no (NetNews Administrator)
- Organization: SINTEF DELAB, Trondheim, Norway.
- References: <51690@drilex.dri.mgh.com> <1582elINN9mf@early-bird.think.com>
- Date: 30 Jul 92 10:05:16
- Lines: 15
-
- barmar@think.com (Barry Margolin) writes:
- >Others have already suggested getting public ftpd source and adding a
- >umask() call.
- >
- >Another solution is to run ftpd via a script that first sets the umask and
- >then execs the real ftpd. I believe the standard BSD telnet just inherits
- >its umask from its parent.
-
- We have been using a "umask 022" as one of the first lines in /etc/rc on
- our Suns for quite a while. Works like a charm.
-
- Steinar Haug, system/networks administrator
- SINTEF DELAB, University of Trondheim, NORWAY
- Email: Steinar.Haug@delab.sintef.no,
- sthaug@idt.unit.no, steinar@tosca.er.sintef.no
-