home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / mail / elm / 3251 < prev    next >
Encoding:
Text File  |  1992-11-09  |  2.2 KB  |  50 lines

  1. Newsgroups: comp.mail.elm
  2. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!uwm.edu!spool.mu.edu!umn.edu!math.fu-berlin.de!informatik.tu-muenchen.de!LRZnews!k2
  3. From: k2@bl.physik.tu-muenchen.de (Klaus Steinberger)
  4. Subject: Re: ELM 2.4PL6 - Big problem! Changing permissions on /usr/mail
  5. Message-ID: <k2.721375347@woodstock>
  6. Sender: news@news.lrz-muenchen.de (Mr. News)
  7. Organization: Leibniz-Rechenzentrum, Muenchen (Germany)
  8. References: <Bx9BHq.E1x@mach1.wlu.ca> <848@rc1.vub.ac.be> <k2.721142571@woodstock> <BxGBzH.A4B@mach1.wlu.ca>
  9. Date: Tue, 10 Nov 1992 06:02:27 GMT
  10. Lines: 38
  11.  
  12. derwin@mach2.wlu.ca (Daryl Erwin) writes:
  13.  
  14. >In article <k2.721142571@woodstock> k2@bl.physik.tu-muenchen.de (Klaus Steinberger) writes:
  15. >>apardon@rc1.vub.ac.be (Antoon Pardon) writes:
  16. >>
  17. >>>We have had similar problems here. The problem however was not elm
  18. >>>but a buggy NFS. The problems was that when a file was opened with
  19. >>>the CREAT flag over NFS and you where the owner of the file the group of
  20. >>>the file was changed to the gid of the process even if the file already 
  21. >>>existed. As a workaround (This works only on bsd systems I think) we
  22. >>>set the setgid bit on the spooldirectory to indicate that created files
  23. >>>should get the gid of the spool instead that of the process. It works
  24. >>>for the moment.
  25. >>
  26. >>Thanks for that tip, I did have sometimes similar problems, and could
  27. >>not track it down, but this I think would help. (At least on my
  28. >>EP/IX box, setgid works).
  29.  
  30. >In simple language :-) how is this done?
  31.  
  32. chmod g+s /usr/mail
  33.  
  34. But this works only on systems with some BSD semantics. You could try it out,
  35. su to root, create a directory, use chgrp to change the group of the directory
  36. to another group, chmod g+s directory, create some file in the directory.
  37. If this file has the group which root usually creates (normally "other"),
  38. then setgid on directories didn't work. Otherwise the file must have the 
  39. same group as the parent directory.
  40.  
  41. Sincerely,
  42. Klaus
  43.  
  44.  
  45. --
  46. Klaus Steinberger               Beschleunigerlabor der TU und LMU Muenchen
  47. Phone: (+49 89)3209 4287        Hochschulgelaende
  48. FAX:   (+49 89)3209 4280        D-8046 Garching, Germany
  49. Internet: Klaus.Steinberger@Physik.Uni-Muenchen.DE
  50.