386BSD 0.1 development
authorWilliam F. Jolitz <wjolitz@soda.berkeley.edu>
Wed, 22 May 1991 01:42:04 +0000 (17:42 -0800)
committerWilliam F. Jolitz <wjolitz@soda.berkeley.edu>
Wed, 22 May 1991 01:42:04 +0000 (17:42 -0800)
Work on file usr/othersrc/etc/mtree/BSD.root.dist

Co-Authored-By: Lynne Greer Jolitz <ljolitz@cardio.ucsf.edu>
Synthesized-from: 386BSD-0.1

usr/othersrc/etc/mtree/BSD.root.dist [new file with mode: 0644]

diff --git a/usr/othersrc/etc/mtree/BSD.root.dist b/usr/othersrc/etc/mtree/BSD.root.dist
new file mode 100644 (file)
index 0000000..f86ffad
--- /dev/null
@@ -0,0 +1,95 @@
+#      fs: /
+#      by: bostic
+#
+#      %W% (Berkeley) %G%
+
+# top-level files are owned by root.wheel
+# (else too easy to get root by compromising these)
+
+/set owner=root group=wheel mode=0755 type=file
+
+sys    type=link size=11 link=usr/src/sys
+a      type=dir
+..
+b      type=dir
+..
+
+dev    type=dir
+       fd      type=dir
+       ..
+..
+
+etc    type=dir
+       disklabels      type=dir
+       ..
+# what is the following for?
+/set nlink=1
+       kerberosIV      type=dir
+       ..
+       mtree   type=dir
+       ..
+       namedb  type=dir
+       ..
+       passwd  mode=0644
+       master.passwd mode=0600
+       spwd.db mode=0600
+       pwd.db  mode=0644
+       group   mode=0644
+       crontab mode=0644
+       dumpdates       group=operator mode=0664
+
+       # config files, writeable by root
+       /set mode=0644 type=file
+       daily
+       weekly
+       monthly
+       exports
+       fstab
+       hosts.equiv
+       hosts.lpd
+       inetd.conf
+       printcap
+       rc
+       rc.local
+       netstart        mode=0755
+       remote
+       security
+       sendmail.cf
+       sendmail.cw
+       syslog.conf
+       ttys
+
+       # prototype files, not normally written by root
+       /set mode=0444
+       ftpusers
+       shells
+       gettytab
+       named.boot
+       hosts
+       networks
+       protocols
+       services
+       localtime       owner=bin group=bin
+       man.conf        owner=bin group=bin
+
+..
+
+mnt    type=dir
+..
+root   type=dir
+..
+stand  type=dir
+..
+tmp    type=dir owner=bin group=bin mode=01777
+..
+usr    type=dir
+..
+var    type=dir
+..
+
+# binary directories:
+/set owner=bin group=bin mode=0755
+bin    type=dir
+..
+sbin   type=dir
+..