linuxOS_AP05/buildroot/package/bluez5_utils/0008-bluez5-fix-obex-permissions.patch
2025-06-02 13:59:07 +08:00

30 lines
914 B
Diff

From baef74c1d678460676bd78e1109f70c070dfc32f Mon Sep 17 00:00:00 2001
From: Yao Xiao <xiaoyao@rock-chips.com>
Date: Tue, 6 Aug 2019 06:28:47 +0000
Subject: [PATCH 08/19] bluez5: fix obex permissions
Signed-off-by: Yao Xiao <xiaoyao@rock-chips.com>
---
src/bluetooth.conf | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/bluetooth.conf b/src/bluetooth.conf
index 0c0b221..8aa6ac1 100644
--- a/src/bluetooth.conf
+++ b/src/bluetooth.conf
@@ -9,8 +9,11 @@
<policy user="root">
<allow own="org.bluez"/>
+ <allow own="org.bluez.obex"/>
<allow send_destination="org.bluez"/>
+ <allow send_destination="org.bluez.obex"/>
<allow send_interface="org.bluez.Agent1"/>
+ <allow send_interface="org.bluez.obex"/>
<allow send_interface="org.bluez.MediaEndpoint1"/>
<allow send_interface="org.bluez.MediaPlayer1"/>
<allow send_interface="org.bluez.Profile1"/>
--
2.20.1