Re: Add user ACLs for /dev/rfkill

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Harald,

> 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

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?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"
> +

I am not convinced this is the right way to do. Exposing the RFKILL
control to the console user might be wrong.

Regards

Marcel


--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux