|
|
9fc0f6 |
From d5ac78410cbf19b9e9e420286ad1afce03764c6d Mon Sep 17 00:00:00 2001
|
|
|
9fc0f6 |
From: Kay Sievers <kay@vrfy.org>
|
|
|
9fc0f6 |
Date: Mon, 21 Oct 2013 03:49:03 +0200
|
|
|
9fc0f6 |
Subject: [PATCH] rules: remove pointless MODE= settings
|
|
|
9fc0f6 |
|
|
|
9fc0f6 |
Changing the default MODE= for the group accessi, but not specifying
|
|
|
9fc0f6 |
a GROUP= does not provide anything.
|
|
|
9fc0f6 |
|
|
|
9fc0f6 |
It disables the default logic that the mode switches to 0660 as soon
|
|
|
9fc0f6 |
as a GROUP= is specifed, which make custom rules uneccesarily complicated.
|
|
|
9fc0f6 |
|
|
|
9fc0f6 |
https://bugs.freedesktop.org/show_bug.cgi?id=70665
|
|
|
9fc0f6 |
---
|
|
|
9fc0f6 |
rules/50-udev-default.rules | 6 ++----
|
|
|
9fc0f6 |
1 file changed, 2 insertions(+), 4 deletions(-)
|
|
|
9fc0f6 |
|
|
|
9fc0f6 |
diff --git a/rules/50-udev-default.rules b/rules/50-udev-default.rules
|
|
|
9fc0f6 |
index f764789..679dfdf 100644
|
|
|
9fc0f6 |
--- a/rules/50-udev-default.rules
|
|
|
9fc0f6 |
+++ b/rules/50-udev-default.rules
|
|
|
9fc0f6 |
@@ -20,9 +20,7 @@ KERNEL=="tty[A-Z]*[0-9]|pppox[0-9]*|ircomm[0-9]*|noz[0-9]*|rfcomm[0-9]*", GROUP=
|
|
|
9fc0f6 |
|
|
|
9fc0f6 |
SUBSYSTEM=="mem", KERNEL=="mem|kmem|port", GROUP="kmem", MODE="0640"
|
|
|
9fc0f6 |
|
|
|
9fc0f6 |
-SUBSYSTEM=="input", KERNEL=="mouse*|mice|event*", MODE="0640"
|
|
|
9fc0f6 |
-SUBSYSTEM=="input", KERNEL=="ts[0-9]*|uinput", MODE="0640"
|
|
|
9fc0f6 |
-SUBSYSTEM=="input", KERNEL=="js[0-9]*", MODE="0644"
|
|
|
9fc0f6 |
+SUBSYSTEM=="input", KERNEL=="js[0-9]*", MODE="0664"
|
|
|
9fc0f6 |
|
|
|
9fc0f6 |
SUBSYSTEM=="video4linux", GROUP="video"
|
|
|
9fc0f6 |
SUBSYSTEM=="misc", KERNEL=="agpgart", GROUP="video"
|
|
|
9fc0f6 |
@@ -63,7 +61,7 @@ SUBSYSTEM=="raw", KERNEL=="raw[0-9]*", GROUP="disk"
|
|
|
9fc0f6 |
SUBSYSTEM=="aoe", GROUP="disk", MODE="0220"
|
|
|
9fc0f6 |
SUBSYSTEM=="aoe", KERNEL=="err", MODE="0440"
|
|
|
9fc0f6 |
|
|
|
9fc0f6 |
-KERNEL=="rfkill", MODE="0644"
|
|
|
9fc0f6 |
+KERNEL=="rfkill", MODE="0664"
|
|
|
9fc0f6 |
KERNEL=="tun", MODE="0666", OPTIONS+="static_node=net/tun"
|
|
|
9fc0f6 |
|
|
|
9fc0f6 |
KERNEL=="fuse", MODE="0666", OPTIONS+="static_node=fuse"
|