home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / protocol / tcpip / 3910 < prev    next >
Encoding:
Text File  |  1992-07-29  |  1.1 KB  |  28 lines

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