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