summaryrefslogtreecommitdiffstats
path: root/etc/mtree/BSD.root.dist
blob: d622c0303d239192621c9d13fc5efb602ac8904b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#	$Id: BSD.root.dist,v 1.13 1994/06/12 16:20:36 csgr Exp $
#

# 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=0755

sys	type=link size=12 link=usr/src/sys

dev	type=dir
	fd	type=dir uname=bin gname=bin mode=0555
	..
..

etc	type=dir
	config	type=dir
	..
	mtree	type=dir
	..
	namedb	type=dir
	..
	uucp    type=dir uname=uucp gname=uucp mode=0770
	..
	kerberosIV	type=dir
	..
	gnats		type=dir
	..
..

mnt	type=dir
..

proc	type=dir uname=root gname=wheel mode=0555
..

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
..
OpenPOWER on IntegriCloud