home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / linux / 9155 < prev    next >
Encoding:
Internet Message Format  |  1992-08-26  |  1.7 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!mips!think.com!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!homer.cs.mcgill.ca!news
  2. From: guest@chopin.Physics.McGill.CA (Muhep Guest account)
  3. Newsgroups: comp.os.linux
  4. Subject: Elm's permissions
  5. Message-ID: <1992Aug26.224141.6669@cs.mcgill.ca>
  6. Date: 26 Aug 92 22:41:41 GMT
  7. References: <1992Aug25.230907.10073@utstat.uucp>
  8. Sender: news@cs.mcgill.ca (Netnews Administrator)
  9. Organization: SOCS, McGill University, Montreal, Canada
  10. Lines: 29
  11.  
  12. Rafal Kustra (summer student) writes
  13. [..]
  14. > Also my elm with root:mail ownership would't work right
  15. > even with suid. I had to sgid it too.
  16. > (It wouldn't be able to create folder in /usr/spool/mail
  17. > which is also root:mail).
  18.  
  19. For elm, I found that it is much much easier to NOT have elm run setgid
  20. (which means in configuring it, you have to say NO to this question).
  21. Then you make the /usr/spool/mail directory o+rwxt, so that everyone can  
  22. read and write into it, but the sticky bit ('t') means you can only modify  
  23. files you own.  If you do this, the mailbox files in /usr/spool/mail  
  24. should have the uid and gid of the user in question, and not have gid  
  25. mail.
  26.  
  27. [smail seems to give read permissions to the world when creating a  
  28. mailbox, so when you create a new account you should touch the mailbox and  
  29. chmod it to 600 in the adduser script (like mine does!)]
  30.  
  31. > -- 
  32. > /|| Numbers exist only in our minds. There is no physical entity that
  33. >  ||_is_ number 1. If there were, 1 would be in a place of honor in 
  34. >  || some great museum of science, and past it would file a steady
  35. > ==== stream of mathematicians gazing at 1 in wonder and awe.
  36.  
  37. I don't buy this.  The third sentence does not follow from the second.
  38.  
  39. Steve Robbins
  40. steve@nyongwa.cam.org, despite what the header says.
  41.