freebsd-dev/etc/mtree/BSD.var.dist
Jordan K. Hubbard ab98cf58c4 Change group ownership of /var/mail to mail and permission
to 0775.

This does *not* instantly make any program which "ensures"
mail spool consistency by creating lock files safe in any way
since other tools, like mail.local, will be using flock() semantics
and any such lock file will simply be ignored.  It does, however,
allow a lot of things which are currently suid root in order to create
such bogus lockfiles to, at least, be bogus at a much lower level of
privilege (and this is good).  Ultimately, of course, everybody should
just use flock.
1997-05-03 20:15:15 +00:00

83 lines
1.7 KiB
Plaintext

# $Id: BSD.var.dist,v 1.29 1997/02/26 01:17:49 mpp Exp $
#
/set type=dir uname=bin gname=bin mode=0755
. uname=root gname=wheel
account
..
/set type=dir uname=daemon gname=wheel mode=0755
at uname=root
jobs
..
spool
..
..
backups uname=root mode=0750
..
crash uname=root mode=0750
..
/set type=dir uname=root gname=wheel mode=0700
cron mode=0750
tabs
..
..
db uname=bin gname=bin mode=0755
..
/set type=dir uname=games gname=bin mode=0755
games
hackdir
..
larn
..
phantasia
..
..
log uname=bin
..
mail uname=bin gname=mail mode=0775
..
msgs uname=daemon
..
preserve uname=bin
..
run uname=bin
..
rwho uname=bin gname=daemon mode=0775
..
/set type=dir uname=uucp gname=daemon mode=0755
spool uname=bin gname=bin
lock gname=dialer mode=0775
..
lpd uname=bin
..
mqueue uname=root
..
output uname=bin
lpd uname=root gname=daemon
..
..
/set type=dir uname=uucp gname=uucp mode=0775
uucp
.Preserve
..
.Sequence
..
.Status
..
.Temp
..
.Xqtdir
..
..
uucppublic mode=0777
..
..
/set type=dir uname=bin gname=bin mode=01777
tmp
vi.recover
..
..
yp mode=0755
..
..