summaryrefslogtreecommitdiffstats
path: root/sources
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-03-24 19:09:22 +0000
committerEric Andersen <andersen@codepoet.org>2003-03-24 19:09:22 +0000
commitd8d1f8a65b63e7f61e07d1f9343b00e92cb58d33 (patch)
tree47b26d78825681648d0ad3c24e0256c491d15170 /sources
parent6c1f9834b3873645ab09caed790c28dfa816f7b1 (diff)
downloadbuildroot-novena-d8d1f8a65b63e7f61e07d1f9343b00e92cb58d33.tar.gz
buildroot-novena-d8d1f8a65b63e7f61e07d1f9343b00e92cb58d33.zip
Create a more multi-user friendly set of device perms
Diffstat (limited to 'sources')
-rw-r--r--sources/device_table.txt50
1 files changed, 36 insertions, 14 deletions
diff --git a/sources/device_table.txt b/sources/device_table.txt
index 90c2a08cd..404f32a61 100644
--- a/sources/device_table.txt
+++ b/sources/device_table.txt
@@ -37,26 +37,48 @@
/dev/pts d 755 0 0 - - - - -
/tmp d 1777 0 0 - - - - -
/etc d 755 0 0 - - - - -
+/home/default d 2755 1000 1000 - - - - -
+# Adjust permissions on some normal files
+/etc/shadow f 600 0 0 - - - - -
+/etc/passwd f 644 0 0 - - - - -
+/bin/tinylogin f 4755 0 0 - - - - -
+# uncomment this to allow starting x as non-root
+#/usr/X11R6/bin/Xfbdev f 4755 0 0 - - - - -
+
+# Normal system devices
/dev/mem c 640 0 0 1 1 0 0 -
/dev/kmem c 640 0 0 1 2 0 0 -
-/dev/null c 640 0 0 1 3 0 0 -
-/dev/zero c 640 0 0 1 5 0 0 -
-/dev/random c 640 0 0 1 8 0 0 -
-/dev/urandom c 640 0 0 1 9 0 0 -
-/dev/tty c 666 0 0 5 0 0 0 -
-/dev/tty c 666 0 0 4 0 0 1 6
-/dev/console c 640 0 0 5 1 0 0 -
+/dev/null c 666 0 0 1 3 0 0 -
+/dev/zero c 666 0 0 1 5 0 0 -
+/dev/random c 666 0 0 1 8 0 0 -
+/dev/urandom c 666 0 0 1 9 0 0 -
/dev/ram b 640 0 0 1 1 0 0 -
/dev/ram b 640 0 0 1 0 0 1 4
/dev/loop b 640 0 0 7 0 0 1 2
-/dev/ptmx c 666 0 0 5 2 0 0 -
-/dev/ttyS c 640 0 0 4 64 0 1 4
-/dev/psaux c 640 0 0 10 1 0 0 -
-#/dev/rtc c 640 0 0 10 135 0 0 -
+/dev/rtc c 640 0 0 10 135 - - -
+/dev/console c 666 0 0 5 1 - - -
+/dev/tty c 666 0 0 5 0 - - -
+/dev/tty c 666 0 0 4 0 0 1 8
+/dev/ttyp c 666 0 0 3 0 0 1 10
+/dev/ptyp c 666 0 0 2 0 0 1 10
+/dev/ptmx c 666 0 0 5 2 - - -
+/dev/ttyP c 666 0 0 57 0 0 1 4
+/dev/ttyS c 666 0 0 4 64 0 1 4
+/dev/fb c 640 0 5 29 0 0 32 4
+#/dev/ttySA c 666 0 0 204 5 0 1 3
+/dev/psaux c 666 0 0 10 1 0 0 -
+#/dev/ppp c 666 0 0 108 0 - - -
-# Adjust permissions on some normal files
-/etc/shadow f 600 0 0 - - - - -
-/bin/tinylogin f 4755 0 0 - - - - -
+# MTD stuff
+/dev/mtd c 640 0 0 90 0 0 2 4
+/dev/mtdblock b 640 0 0 31 0 0 1 4
+
+# Audio stuff
+#/dev/audio c 666 0 29 14 4 - - -
+#/dev/audio1 c 666 0 29 14 20 - - -
+#/dev/dsp c 666 0 29 14 3 - - -
+#/dev/dsp1 c 666 0 29 14 19 - - -
+#/dev/sndstat c 666 0 29 14 6 - - -
# User-mode Linux stuff
/dev/ubda b 640 0 0 98 0 0 0 -