>From 6e4ceb8205a7027b750d0cf1477834e91341e502 Mon Sep 17 00:00:00 2001 From: Harald Hoyer <harald@xxxxxxxxxx> Date: Fri, 31 Jul 2009 12:55:49 +0200 Subject: [PATCH] 70-acl.rules: add rfkill switch For gnome-bluetooth's killswitch code to work, the user on the local console needs to have access to /dev/rfkill. see https://bugzilla.redhat.com/show_bug.cgi?id=514798 --- extras/udev-acl/70-acl.rules | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/extras/udev-acl/70-acl.rules b/extras/udev-acl/70-acl.rules index f41bb66..85ea8a1 100644 --- a/extras/udev-acl/70-acl.rules +++ b/extras/udev-acl/70-acl.rules @@ -44,6 +44,9 @@ SUBSYSTEM=="misc", KERNEL=="kvm", ENV{ACL_MANAGE}="1" # smart-card readers ENV{ID_SMARTCARD_READER}=="*?", ENV{ACL_MANAGE}="1" +# rfkill switch +KERNEL=="rfkill", ENV{ACL_MANAGE}="1" + # apply ACL for all locally logged in users LABEL="acl_apply", ENV{ACL_MANAGE}=="?*", TEST=="/var/run/ConsoleKit/database", \ RUN+="udev-acl --action=$env{ACTION} --device=$env{DEVNAME}" -- 1.6.2.5