From 4ae6d03f394684722e7d5710fb2585e7c388f119 Mon Sep 17 00:00:00 2001 From: "kay.sievers@vrfy.org" Date: Mon, 20 Dec 2004 03:04:11 +0100 Subject: [PATCH] simplify rules file by setting default mode to 0660 On Sun, 2004-12-19 at 18:31 +0100, Marco d'Itri wrote: > It may be better to use default_mode="0660", I do not think that there > are any mode 600 devices. This would allow setting only the group for > most of them. --- etc/udev/redhat/udev.rules | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'etc/udev/redhat') diff --git a/etc/udev/redhat/udev.rules b/etc/udev/redhat/udev.rules index f95d2c1a10..5dc68237e7 100644 --- a/etc/udev/redhat/udev.rules +++ b/etc/udev/redhat/udev.rules @@ -10,18 +10,18 @@ KERNEL="console", NAME="%k", GROUP="tty", MODE="0600" KERNEL="tty", NAME="%k", GROUP="tty", MODE="0666" -KERNEL="tty[0-9]*", NAME="%k", GROUP="tty", MODE="0660 +KERNEL="tty[0-9]*", NAME="%k", GROUP="tty" KERNEL="ptmx", NAME="%k", GROUP="tty", MODE="0666" -KERNEL="pty[p-za-e][0-9a-f]*", NAME="%k", GROUP="tty", MODE="0660" -KERNEL="tty[p-za-e][0-9a-f]*", NAME="%k", GROUP="tty", MODE="0660" - -KERNEL="ttyS[0-9]*", NAME="%k", GROUP="uucp", MODE="0660" -KERNEL="ttyUSB[0-9]*", NAME="%k", GROUP="uucp", MODE="0600" -KERNEL="ippp0", NAME="%k", MODE="0660" -KERNEL="isdn*", NAME="%k", MODE="0660" -KERNEL="dcbri*", NAME="%k", MODE="0660" -KERNEL="ircomm*", NAME="%k", GROUP="uucp", MODE="0660" +KERNEL="pty[p-za-e][0-9a-f]*", NAME="%k", GROUP="tty" +KERNEL="tty[p-za-e][0-9a-f]*", NAME="%k", GROUP="tty" + +KERNEL="ttyS[0-9]*", NAME="%k", GROUP="uucp" +KERNEL="ttyUSB[0-9]*", NAME="%k", GROUP="uucp" +KERNEL="ippp0", NAME="%k" +KERNEL="isdn*", NAME="%k" +KERNEL="dcbri*", NAME="%k" +KERNEL="ircomm*", NAME="%k", GROUP="uucp" KERNEL="vcs", NAME="%k", OWNER="vcsa", GROUP="tty", MODE="0600" KERNEL="vcsa[0-9]*", NAME="%k", OWNER="vcsa", GROUP="tty", MODE="0600 -- cgit v1.2.3-54-g00ecf