Subject: misc/2959: /var/mail gets reset to 0755 after make install
To: None <gnats-bugs@gnats.netbsd.org>
From: Brian C. Grayson <bgrayson@marvin.ece.utexas.edu>
List: netbsd-bugs
Date: 11/23/1996 15:10:20
>Number: 2959
>Category: misc
>Synopsis: The permissions on /var/mail get reset to 0755 by >make install
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people (Misc Bug People)
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sat Nov 23 13:20:01 1996
>Last-Modified:
>Originator: Brian Grayson
>Organization:
Parallel and Distributed Systems
Electrical and Computer Engineering
The University of Texas at Austin
>Release: Nov 23
>Environment:
System: NetBSD marvin 1.2 NetBSD 1.2 (MARVIN) #1: Tue Oct 1 21:46:42 CDT 1996 bgrayson@marvin:/a/orac/home/orac/src/sys/arch/i386/compile/MARVIN i386
>Description:
At some point, doing a 'make install' in /usr/src would
clobber the permissions on /tmp/ and /var/mail/ (leading
to elm not being able to create its lock files, etc.).
The /tmp/ was fixed, but the /var/mail/ situation is not
fixed.
(I checked the bugs database, and didn't see this
mentioned there. I thought I had seen traffic about this
on one of the mailing lists, but had already deleted the
messages.)
>How-To-Repeat:
ls -ld /var/mail/; cd /usr/src; make install; ls -ld /var/mail/
(or, cd /usr/src/etc && make DESTDIR=/ distrib-dirs, for
the make install command.)
>Fix:
Change line 1458 of /usr/src/etc/mtree/4.4BSD.dist to
also contain mode=01777 (That's the right mode for
/var/mail, right?)
>Audit-Trail:
>Unformatted: