public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] problems with permissions for sdp local
@ 2008-03-17  9:52 Wolfgang Buesser
  2008-03-20 13:56 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Wolfgang Buesser @ 2008-03-17  9:52 UTC (permalink / raw)
  To: bluez-users

I am using a USB-bluetooth dongle to my mobile phone.

Everything seems to work fine when I am logged in as root.
As normal user kbluetoothd complains

>Failed to connect to the SDP server.
>Please make sure that sdpd is running
>without it, other devices will not be able to find out
>which services your computer offers.

When I run 'sdptool browse local' as normal user I get:
>Failed to connect to SDP server on FF:FF:FF:00:00:00: Permission denied

When I run it as root I get:
>Browsing FF:FF:FF:00:00:00 ...
>Service Name: OBEX Object Push
>Service RecHandle: 0x10000
>Service Class ID List:
>  "OBEX Object Push" (0x1105)
>Protocol Descriptor List:
>  "L2CAP" (0x0100)
>  "RFCOMM" (0x0003)
>    Channel: 10
>  "OBEX" (0x0008)
>Profile Descriptor List:
>  "OBEX Object Push" (0x1105)
>    Version: 0x0100

Browsing for the remote device works for both, root an normal user.

So here is my question:
What controls the permissions to access the local interface with sdp?
Is this am matter of udev?
How can I change these permissions?

Thanks
	Wolfgang





-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bluez-users] problems with permissions for sdp local
  2008-03-17  9:52 [Bluez-users] problems with permissions for sdp local Wolfgang Buesser
@ 2008-03-20 13:56 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2008-03-20 13:56 UTC (permalink / raw)
  To: BlueZ users

Hi Wolfgang,

> I am using a USB-bluetooth dongle to my mobile phone.
> 
> Everything seems to work fine when I am logged in as root.
> As normal user kbluetoothd complains
> 
> >Failed to connect to the SDP server.
> >Please make sure that sdpd is running
> >without it, other devices will not be able to find out
> >which services your computer offers.
> 
> When I run 'sdptool browse local' as normal user I get:
> >Failed to connect to SDP server on FF:FF:FF:00:00:00: Permission denied

have you started hcid with the -s option? Do you have SELinux or
something alike activated?

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-20 13:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-17  9:52 [Bluez-users] problems with permissions for sdp local Wolfgang Buesser
2008-03-20 13:56 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox