public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Andrea Veri <andrea.veri89@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: rfkill read / write access needs to be enabled for normal users
Date: Sun, 25 Oct 2009 01:24:27 +0900	[thread overview]
Message-ID: <1256401467.7812.7.camel@localhost.localdomain> (raw)
In-Reply-To: <20091024171318.345c2bbf@bluepaper>

Hi Andrea,

> while working on gnome-bluetooth for Debian, I noticed that rfkill's
> read / write access needs to be enabled for normal users.
> 
> There is a patch for this already:
> 
> KERNEL=="rfkill", ENV{ACL_MANAGE}="1"
> 
> This is done through an udev rule, but I don't think this is the best
> way to have it fixed.
> 
> I guess that having a fix included into bluez itself would make the
> trick IMHO.
> 
> Is there someone working on this already? if not, someone can suggest
> me another way to have this fixed without having to use an udev rule?

I have said this before and let me repeat it again, gnome-bluetooth
should not mess directly with the RFKILL subsystem. It is the wrong
approach and that is the reason why normal users don't have uncontrolled
access to /dev/rfkill.

Regards

Marcel



  reply	other threads:[~2009-10-24 16:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-24 15:13 rfkill read / write access needs to be enabled for normal users Andrea Veri
2009-10-24 16:24 ` Marcel Holtmann [this message]
2009-10-24 17:28   ` Bastien Nocera
2009-10-25 11:48   ` Andrea Veri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1256401467.7812.7.camel@localhost.localdomain \
    --to=marcel@holtmann.org \
    --cc=andrea.veri89@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox