From: Marcel Holtmann <marcel@holtmann.org>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] Permission flags (chmod) for /dev/rfcomm*
Date: Mon, 23 Jan 2006 17:24:51 +0100 [thread overview]
Message-ID: <1138033491.7327.1.camel@localhost> (raw)
In-Reply-To: <90057D7E-8908-42B9-8067-BF9809EAE90B@epfl.ch>
Hi Thomas,
> We have a bunch of small robots that we can access via bluetooth. For
> each robot, we added an entry in the /etc/bluetooth/rfcomm.conf file.
> These entries look as follows:
> rfcommXX {
> bind yes;
> device HARDWARE_ADDRESS;
> channel 1;
> }
>
> When we start the bluetooth service, the following line is executed
> (as root)
> rfcomm bind all
> which creates a /dev/rfcommXX for each robot. There are two issues
> with these files:
>
> 1) All devices are created with chmod 600 (crw-------). This is a
> problem for us because we want several users to be able to access
> them. Is there a way of configuring the chmod mask in the rfcomm.conf
> file?
> (Note that launching a "chmod 666 /dev/rfcomm*" after "rfcomm bind
> all" is not a good solution since the devices are created with some
> delay.)
>
> 2) These devices belong to the locally logged in user, not root. Why?
> Is there a way to configure that (user and group ownership)?
both are udev related questions and in both cases the udev configuration
is the answer.
Regards
Marcel
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
prev parent reply other threads:[~2006-01-23 16:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-23 16:25 [Bluez-devel] Permission flags (chmod) for /dev/rfcomm* Thomas Lochmatter
2006-01-23 16:24 ` Marcel Holtmann [this message]
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=1138033491.7327.1.camel@localhost \
--to=marcel@holtmann.org \
--cc=bluez-devel@lists.sourceforge.net \
/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;
as well as URLs for NNTP newsgroup(s).