diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2004-12-20 09:53:32 +0100 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 23:19:09 -0700 |
commit | c07068d5e0b153634c4457aff3dd16700161be00 (patch) | |
tree | 2ee1ffb5ebb04c743cdd75a230c1381a279f203e /etc | |
parent | eabfc9736703ce0dc81b233d78821d408aa565f2 (diff) |
[PATCH] update Fedora config files
Diffstat (limited to 'etc')
-rw-r--r-- | etc/udev/redhat/udev.permissions | 74 | ||||
-rw-r--r-- | etc/udev/redhat/udev.rules | 9 |
2 files changed, 45 insertions, 38 deletions
diff --git a/etc/udev/redhat/udev.permissions b/etc/udev/redhat/udev.permissions index 00bdff4aaf..19de177c82 100644 --- a/etc/udev/redhat/udev.permissions +++ b/etc/udev/redhat/udev.permissions @@ -70,27 +70,27 @@ dmmidi*:root:root:0660 sndstat:root:root:0660 # optical devices -sr*:root:disk:0660 -scd*:root:disk:0660 -pcd*:root:disk:0660 -disk*:root:disk:0660 -dvd:root:disk:0660 -rdvd:root:disk:0660 -cdroms/*:root:disk:0660 +sr*:root:disk:0640 +scd*:root:disk:0640 +pcd*:root:disk:0640 +disk*:root:disk:0640 +dvd:root:disk:0640 +rdvd:root:disk:0640 +cdroms/*:root:disk:0640 # pilot/palm devices pilot:root:uucp:0660 # jaz devices -jaz*:root:disk:0660 +jaz*:root:disk:0640 # zip devices -pocketzip*:root:disk:0660 -zip*:root:disk:0660 +pocketzip*:root:disk:0640 +zip*:root:disk:0640 # ls120 devices -ls120:root:disk:0660 -ls120*:root:disk:0660 +ls120:root:disk:0640 +ls120*:root:disk:0640 # lp devices lp*:root:lp:0660 @@ -109,28 +109,28 @@ usb/dc2xx*:root:root:0600 usb/mdc800*:root:root:0600 # raw devices -ram*:root:disk:0660 -raw/*:root:disk:0660 +ram*:root:disk:0640 +raw/*:root:disk:0640 # disk devices -hd*:root:disk:0660 -sd*:root:disk:0660 -dasd*:root:disk:0660 -ataraid*:root:disk:0660 -loop*:root:disk:0660 -md*:root:disk:0660 -ide/*/*/*/*/*:root:disk:0660 -discs/*/*:root:disk:0660 -loop/*:root:disk:0660 -md/*:root:disk:0660 +hd*:root:disk:0640 +sd*:root:disk:0640 +dasd*:root:disk:0640 +ataraid*:root:disk:0640 +loop*:root:disk:0640 +md*:root:disk:0640 +ide/*/*/*/*/*:root:disk:0640 +discs/*/*:root:disk:0640 +loop/*:root:disk:0640 +md/*:root:disk:0640 # tape devices -ht*:root:disk:0660 -nht*:root:disk:0660 -pt[0-9]*:root:disk:0660 -npt*:root:disk:0660 -st*:root:disk:0660 -nst*:root:disk:0660 +ht*:root:disk:0640 +nht*:root:disk:0640 +pt[0-9]*:root:disk:0640 +npt*:root:disk:0640 +st*:root:disk:0640 +nst*:root:disk:0640 # dm devices dm-*:root:root:0640 @@ -142,10 +142,10 @@ memstick*:root:root:0600 flash*:root:root:0600 # diskonkey devices -diskonkey*:root:disk:0660 +diskonkey*:root:disk:0640 # rem_ide devices -microdrive*:root:disk:0660 +microdrive*:root:disk:0640 # fb devices fb:root:root:0600 @@ -184,9 +184,9 @@ dri/*:root:root:0660 apm_bios:root:root:0600 # scsi devices -sg*:root:disk:0660 -pg*:root:disk:0660 -cdwriter:root:disk:0660 +sg*:root:disk:0640 +pg*:root:disk:0640 +cdwriter:root:disk:0640 # usb devices usb/dabusb*:root:usb:0660 @@ -196,3 +196,7 @@ usb/rio500:root:usb:0660 # s390 devices z90crypt:root:root:0666 +# DVB +dvb/*:root:root:0660 +dvb:root:root:0660 +dvb/adapter*:root:root:0660 diff --git a/etc/udev/redhat/udev.rules b/etc/udev/redhat/udev.rules index 5dc68237e7..d394e99016 100644 --- a/etc/udev/redhat/udev.rules +++ b/etc/udev/redhat/udev.rules @@ -87,7 +87,7 @@ KERNEL="pcd[0-9]*", SYMLINK="cdrom%e" KERNEL="fd[0-9]*", SYMLINK="floppy%e" KERNEL="nst[0-9]*", SYMLINK="tape%e" -KERNEL="hd[a-z]", BUS="ide", SYSFS{removable}="1", PROGRAM="/etc/udev/scripts/ide-media.sh %k", RESULT="floppy", SYMLINK="floppy%e, NAME{ignore_remove, all_partitions}="%k" +KERNEL="hd[a-z]", BUS="ide", SYSFS{removable}="1", PROGRAM="/etc/udev/scripts/ide-media.sh %k", RESULT="floppy", SYMLINK="floppy%e, NAME{ignore_remove, all_partitions}="%k", GROUP="floppy" KERNEL="hd[a-z]", BUS="ide", SYSFS{removable}="1", RESULT="cdrom", SYMLINK="cdrom%e" @@ -101,7 +101,10 @@ KERNEL="hd[a-z]", BUS="ide", SYSFS{removable}="1", PROGRAM="/etc/udev/scripts/ch KERNEL="sr[0-9]*", BUS="scsi", PROGRAM="/etc/udev/scripts/check-cdrom.sh %k DVD-R", SYMLINK="dvdwriter%e" # rename sr* to scd* -KERNEL="sr[0-9]*", BUS="scsi", NAME="scd%n" -KERNEL="hd[a-z]*", BUS="ide", SYSFS{removable}="1", NAME{ignore_remove}="%k" +KERNEL="sr[0-9]*", BUS="scsi", NAME="scd%n", GROUP="disk", MODE="0640" +KERNEL="hd[a-z]*", BUS="ide", SYSFS{removable}="1", NAME{ignore_remove}="%k", GROUP="disk", MODE="0640" + +KERNEL="hd[a-z]*", NAME="%k", GROUP="disk", MODE="0640" +KERNEL="sd[a-z]*", NAME="%k", GROUP="disk", MODE="0640" KERNEL="dvb*", PROGRAM="/etc/udev/scripts/dvb.sh %k", NAME="%c" |