home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / protocol / tcpip / 3909 < prev    next >
Encoding:
Internet Message Format  |  1992-07-29  |  1.8 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!usc!sol.ctr.columbia.edu!emory!ogicse!das-news.harvard.edu!spdcc!dyer
  2. From: dyer@spdcc.com (Steve Dyer)
  3. Newsgroups: comp.protocols.tcp-ip
  4. Subject: Re: How to control permissions on incoming FTP?
  5. Message-ID: <1992Jul30.070925.23754@spdcc.com>
  6. Date: 30 Jul 92 07:09:25 GMT
  7. References: <51690@drilex.dri.mgh.com> <1582elINN9mf@early-bird.think.com>
  8. Organization: S.P. Dyer Computer Consulting, Cambridge MA
  9. Lines: 28
  10.  
  11. In article <1582elINN9mf@early-bird.think.com> barmar@think.com (Barry Margolin) writes:
  12. >Others have already suggested getting public ftpd source and adding a
  13. >umask() call.
  14. >
  15. >Another solution is to run ftpd via a script that first sets the umask and
  16. >then execs the real ftpd.  I believe the standard BSD telnet just inherits
  17. >its umask from its parent.
  18.  
  19. That's fine, but it affects all incoming FTP tasks.  Some of your
  20. users might not like such a decision being made for them.  I wanted
  21. a version of anonymous FTP which allowed deposition of files into
  22. a writable 'incoming' directory, but the resulting files would not
  23. be generally accessible to anonymous FTP browsers.  I didn't want
  24. to affect anyone other users of ftp.
  25.  
  26. Until I made the (simple) change to ftpd, I maintained a writable
  27. directory accessible via anonymous FTP.  One day I was amused (surprised
  28. is too strong a word) to discover that said directory was being used as
  29. a world-wide rendezvous point for porno GIF seekers and providers: there
  30. was even a convention for creating hidden directories in the incoming
  31. directory, one for requests and one for replies.  Files named like
  32. I_want_wandanude.gif in the requests directory would cause wandanude.gif
  33. to appear in the reply directory, and so on.  Ingenious, but not on
  34. my bandwidth...
  35.  
  36. -- 
  37. Steve Dyer
  38. dyer@ursa-major.spdcc.com aka {ima,harvard,rayssd,linus,m2c}!spdcc!dyer
  39.