Comment 2 for bug 1176680

Revision history for this message
Cefn (6-launchpad-net-cefn-com) wrote :

Worth noting that I have been forced to modify the setuid bit on rfcomm0 which may increase the damage it can do somehow?

You can see the command in the linked shell script file above, here it is again..
https://github.com/cefn/blueshrimp/blob/master/util/desktop/pairbluetooth.sh

Without setting the setuid bit it's impossible to configure an rfcomm connection - permission denied. Running it directly through sudo is obviously a bad idea, and sometimes impossible (e.g. Arduino can't access it when launched via sudo).

I don't know how anyone is intended to configure a bluetooth serial port on Ubuntu. Am I using deprecated tools or something?