I'm running an up to date version of Buster on a Pi 3B+ (v1.3) and my Python program dies with
txdbus.error.remoteerror: org.freedesktop.DBus.Error.AccessDenied: Rejected send message
errors unless I run under root (e.g.
sudo python3 myblepgm.py) at which point it completes fine.
Checking the groups defined in /etc/group, I cannot see an obvious one that 'pi' could join to give access to Bluetooth / BLE devices.
I am loath to run the program long term under root if it's not needed (and would be happy to create a specific user for this), so does anyone know what rights / groups the program and user need?