summaryrefslogtreecommitdiff
path: root/src/bluetooth.conf
diff options
context:
space:
mode:
authorTill Kamppeter <till.kamppeter@gmail.com>2009-08-11 14:04:05 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-08-11 15:12:58 -0700
commit29a9ac52089515eafb0cefc6f949d3d4b3d5ca0d (patch)
tree39860903b650b679bf184f52fca64995e896b703 /src/bluetooth.conf
parentfd81722deb09ecbfa5510940e277dff1985253ba (diff)
downloadbluez-29a9ac52089515eafb0cefc6f949d3d4b3d5ca0d.tar.gz
Allow lp (CUPS) to talk to bluetoothd
CUPS runs its backend helpers as the "lp" user, so we should allow CUPS to talk to bluetoothd to enumerate printers.
Diffstat (limited to 'src/bluetooth.conf')
-rw-r--r--src/bluetooth.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bluetooth.conf b/src/bluetooth.conf
index c0476237a..315009ca3 100644
--- a/src/bluetooth.conf
+++ b/src/bluetooth.conf
@@ -17,6 +17,12 @@
<allow send_destination="org.bluez"/>
</policy>
+ <!-- allow users of lp group (printing subsystem) to
+ communicate with bluetoothd -->
+ <policy group="lp">
+ <allow send_destination="org.bluez"/>
+ </policy>
+
<policy context="default">
<deny send_destination="org.bluez"/>
</policy>