summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-12-18 08:22:42 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-12-18 08:22:42 +0100
commit1b66827acaa9bc5684676f21000e0de4e3c69032 (patch)
treeee87986cc82fe5f61c9030718092ddf473ad6029
parentc0ed5f78ccd42bccf52daff63f341a08e964139d (diff)
fix some device node permissions
-rw-r--r--package/base-files/src/etc/mdev.conf10
1 files changed, 6 insertions, 4 deletions
diff --git a/package/base-files/src/etc/mdev.conf b/package/base-files/src/etc/mdev.conf
index 69d9c0079..173a851f3 100644
--- a/package/base-files/src/etc/mdev.conf
+++ b/package/base-files/src/etc/mdev.conf
@@ -1,13 +1,15 @@
-rtc0 root:root 660 @ln -sf /dev/rtc0 /dev/rtc
-device-mapper 0:0 660 @mkdir /dev/mapper
-tun 0:0 660 >net/tun
null 0:0 777
zero 0:0 666
u?random 0:0 644
-console 0:0 0600
+console 0:0 600
ptmx 0:0 666
tty 0:0 666
+tty[0-9]* 0:0 666
ttyS* 0:0 640
+rtc0 root:root 660 @ln -sf /dev/rtc0 /dev/rtc
+device-mapper 0:0 660 @test -d /dev/mapper || mkdir /dev/mapper
+tun 0:0 660 >net/tun
+fb? root:video 660
audio root:audio 660 >snd/audio
dsp root:audio 660 >snd/dsp
timer root:audio 660 >snd/timer