Subject: bin/3063: /usr/bin/mail now requires /var/mail to be writable.
To: None <>
From: Ted Lemon <>
List: netbsd-bugs
Date: 12/27/1996 15:51:54
>Number:         3063
>Category:       bin
>Synopsis:       /usr/bin/mail now requires /var/mail to be writable.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 27 16:05:01 1996
>Originator:     Ted Lemon
Vixie Enterprises
>Release:        December 22, 1996
System: NetBSD andare 1.2B NetBSD 1.2B (ANDARE) #2: Tue Dec 24 03:15:28 PST 1996 mellon@andare:/var/NetBSD/current/sys/arch/i386/compile/ANDARE i386

	/usr/bin/mail now tries to create a file in /var/mail in order
	to support locking across NFS mounts.   This requires that
	/var/mail be writable by the mail program.   The current mtree
	declarations have it writable only by root, so locking fails.
	Install -current.   As a user other than root, read your mail
	with /usr/bin/mail.   Quit out of mail with the q command.   It
	will print an error message and not update the mail file.
	Fix permissions in etc/mtree/4.4BSD.var, do some sort of setuid
	or setgid hack to /usr/bin/mail, or take out dot-locking.