Skip to contentSkip to conversation

problems with permissions for sdp local

Bluez-users Wolfgang Buesser 2 participants 2 messages Mar 17, 2008 – Mar 20, 2008 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

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

Quoted 4 lines

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:

Quoted 1 line

Failed to connect to SDP server on FF:FF:FF:00:00:00: Permission denied

When I run it as root I get:

Quoted 5 lines

Browsing FF:FF:FF:00:00:00 ...
Service Name: OBEX Object Push
Service RecHandle: 0x10000
Service Class ID List:
"OBEX Object Push" (0x1105)

Quoted 8 lines

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 [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#1 lore raw

Hi Wolfgang,

Quoted 5 lines

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

Quoted 7 lines
Quoted 4 lines

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:

Quoted 1 line

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 [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users