[arch-commits] Commit in udev/trunk (arch-udev-rules.patch)

Aaron Griffin aaron at archlinux.org
Fri Aug 29 19:25:37 EDT 2008


    Date: Friday, August 29, 2008 @ 19:25:36
  Author: aaron
Revision: 10695

Correct some group permissions (sg and floppy devices)

Modified:
  udev/trunk/arch-udev-rules.patch

-----------------------+
 arch-udev-rules.patch |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: arch-udev-rules.patch
===================================================================
--- arch-udev-rules.patch	2008-08-29 22:25:57 UTC (rev 10694)
+++ arch-udev-rules.patch	2008-08-29 23:25:36 UTC (rev 10695)
@@ -24,7 +24,7 @@
  SUBSYSTEM=="memstick", RUN+="/sbin/modprobe --all ms_block mspro_block"
  SUBSYSTEM=="mmc", RUN+="/sbin/modprobe mmc_block"
 --- 50-udev-default.rules	2008-07-30 06:20:21.000000000 -0500
-+++ 50-udev-default.rules.arch	2008-08-27 21:11:30.000000000 -0500
++++ 50-udev-default.rules.arch	2008-08-29 18:22:41.000000000 -0500
 @@ -4,12 +4,17 @@
  KERNEL=="tty[pqrstuvwxyzabcdef][0123456789abcdef]", GROUP="tty", MODE="0660", OPTIONS+="last_rule"
  KERNEL=="ptmx",			GROUP="tty", MODE="0666", OPTIONS+="last_rule"
@@ -85,16 +85,21 @@
  
  # firmware class requests
  SUBSYSTEM=="firmware", ACTION=="add", RUN+="firmware.sh"
-@@ -62,7 +73,7 @@
+@@ -62,19 +73,19 @@
  SUBSYSTEM=="block", KERNEL=="sr[0-9]*", SYMLINK+="scd%n"
  SUBSYSTEM=="scsi", KERNEL=="[0-9]*:[0-9]*", ACTION=="add", ATTR{type}=="0|7|14", ATTR{timeout}="60"
  SUBSYSTEM=="scsi", KERNEL=="[0-9]*:[0-9]*", ACTION=="add", ATTR{type}=="1", ATTR{timeout}="900"
 -KERNEL=="hd*", SUBSYSTEMS=="ide", ATTRS{media}=="floppy", OPTIONS+="all_partitions"
 +KERNEL=="hd*", SUBSYSTEMS=="ide", ATTRS{media}=="floppy", OPTIONS+="all_partitions", GROUP="floppy"
  KERNEL=="fd[0-9]",		GROUP="floppy"
- KERNEL=="fd[0-9]", ACTION=="add", ATTRS{cmos}=="?*", RUN+="create_floppy_devices -c -t $attr{cmos} -m %M -M 0640 -G floppy $root/%k"
+-KERNEL=="fd[0-9]", ACTION=="add", ATTRS{cmos}=="?*", RUN+="create_floppy_devices -c -t $attr{cmos} -m %M -M 0640 -G floppy $root/%k"
++KERNEL=="fd[0-9]", ACTION=="add", ATTRS{cmos}=="?*", RUN+="create_floppy_devices -c -t $attr{cmos} -m %M -M 0660 -G floppy $root/%k"
  KERNEL=="sch[0-9]*",		GROUP="disk"
-@@ -73,8 +84,8 @@
+-KERNEL=="sg[0-9]*",		ATTRS{type}!="3|6", GROUP="disk", MODE="0640"
++KERNEL=="sg[0-9]*",		ATTRS{type}!="3|6", GROUP="disk", MODE="0660"
+ KERNEL=="ht[0-9]*|nht[0-9]*",	GROUP="disk"
+ KERNEL=="pg[0-9]*",		GROUP="disk"
+ KERNEL=="pt[0-9]*|npt[0-9]*",	GROUP="disk"
  KERNEL=="qft[0-9]*|nqft[0-9]*|zqft[0-9]*|nzqft[0-9]*|rawqft[0-9]*|nrawqft[0-9]*", GROUP="disk"
  KERNEL=="rawctl",		NAME="raw/%k", GROUP="disk"
  SUBSYSTEM=="raw", KERNEL=="raw[0-9]*", NAME="raw/%k", GROUP="disk"




More information about the arch-commits mailing list