From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcel Holtmann Date: Fri, 31 Jul 2009 11:47:45 +0000 Subject: Re: Add user ACLs for /dev/rfkill Message-Id: <1249040865.23662.14.camel@localhost.localdomain> List-Id: References: <4A72CE4E.3030205@redhat.com> In-Reply-To: <4A72CE4E.3030205@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hi Harald, > From 6e4ceb8205a7027b750d0cf1477834e91341e502 Mon Sep 17 00:00:00 2001 > From: Harald Hoyer > Date: Fri, 31 Jul 2009 12:55:49 +0200 > Subject: [PATCH] 70-acl.rules: add rfkill switch do you mind using git send-email instead of just attaching the patch without any email body. > 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?idQ4798 > --- > 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" > + I am not convinced this is the right way to do. Exposing the RFKILL control to the console user might be wrong. Regards Marcel