From f2731ceaa9d4db7a18840c2ad4f3f9e7d4f9abf5 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 14 Apr 2020 17:51:09 +0200 Subject: [PATCH] luci-app-frps: allow /etc/config/frps, /etc/group and /etc/passwd access Signed-off-by: Jo-Philipp Wich --- .../root/usr/share/rpcd/acl.d/luci-app-frps.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/applications/luci-app-frps/root/usr/share/rpcd/acl.d/luci-app-frps.json b/applications/luci-app-frps/root/usr/share/rpcd/acl.d/luci-app-frps.json index 8c0f8f5a0..b065945b3 100644 --- a/applications/luci-app-frps/root/usr/share/rpcd/acl.d/luci-app-frps.json +++ b/applications/luci-app-frps/root/usr/share/rpcd/acl.d/luci-app-frps.json @@ -1,6 +1,13 @@ { "luci-app-frps": { "description": "Grant access to LuCI app frps", + "read": { + "file": { + "/etc/group": [ "read" ], + "/etc/passwd": [ "read" ] + }, + "uci": ["frps"] + }, "write": { "uci": ["frps"] } -- 2.25.1