home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!haven.umd.edu!mimsy!prometheus!media!irscscm!nearside!shwake
- From: shwake@nearside.UUCP (Raymond Shwake)
- Newsgroups: comp.unix.questions
- Subject: Re: Funny mail !
- Message-ID: <95@nearside.UUCP>
- Date: 10 Jan 93 18:32:04 GMT
- References: <1idklpINNl27@msuinfo.cl.msu.edu> <1993Jan7.092343.20412@newsserver.rrzn.uni-hannover.de> <C0HqIE.Inn@ucunix.san.uc.edu> <1993Jan7.174812.6883@leland.Stanford.EDU>
- Organization: A/C International
- Lines: 33
-
- >In article <C0HqIE.Inn@ucunix.san.uc.edu> reddyp@ucunix.san.uc.edu (Pardhasaradhi A. Reddy) writes:
- >>
- >> This is not really a problem because, when one adds a user, a
- >> mail box is created with username in the /usr/spool/mail
- >> directory always.(assuming, the sys admin didn't forget to
- >> create a mailbox while adding the account.). And the umask is set
-
- Not every implementation creates such a mailbox when adding a new
- user. Also, the System V standard location is /usr/mail, *not*
- /usr/spool/mail.
-
- dkeisen@leland.Stanford.EDU (Dave Eisen) writes:
-
- >It is a problem. On many systems, when a user deletes the last
- >piece of mail in his mailbox, the mail program unlinks the user's
- >entry in /usr/spool/mail. This, of course, is a disastrous
- >misfeature of these mail programs, but unfortunately, that is
- >how mail works on these systems. /usr/spool/mail should not be
- >world writeable.
-
- I must disagree here, as I hardly consider this a "misfeature",
- and not just because System V mail follows the practice you decry.
- Removing zero-length mailbox files keeps the mail directory leaner
- than would be the case otherwise, and provides a modest improvement
- in file access since the directory is that much smaller. This can
- be noticeable on a system with hundreds of authorized users.
-
- I agree that the mail directory should not be world writeable.
- Indeed, under System V it's only writeable by the mailer daemon(s).
- Our own FXmail follows these conventions.
- --
-
- uunet!media!irscscm!nearside!shwake shwake@rsxtech
-