HardenedBSD/etc/mtree/BSD.root.dist
1993-07-30 15:09:40 +00:00

46 lines
574 B
Plaintext

# fs: /
# by: rgrimes
# date: Fri Jul 16 22:24:17 1993
#
# top-level files are owned by root.wheel
# (else too easy to get root by compromising these)
/set type=file uname=root gname=wheel mode=0775
sys type=link size=12 link=usr/src/sys
dev type=dir
fd type=dir uname=bin gname=bin mode=555
..
..
etc type=dir
mtree type=dir
..
namedb type=dir
..
..
mnt type=dir
..
root type=dir
..
tmp type=dir uname=bin gname=bin mode=01777
..
usr type=dir
..
var type=dir
..
# binary directories:
/set uname=bin gname=bin mode=0755
bin type=dir
..
sbin type=dir
..