From 30e3d277b629a69bbec652e3de828cc49aa527d1 Mon Sep 17 00:00:00 2001 From: Huangbin Zhan Date: Thu, 7 May 2020 17:36:45 +0800 Subject: [PATCH] luci-app-frpc: add uci file read permissions Signed-off-by: Huangbin Zhan --- .../root/usr/share/rpcd/acl.d/luci-app-frpc.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/applications/luci-app-frpc/root/usr/share/rpcd/acl.d/luci-app-frpc.json b/applications/luci-app-frpc/root/usr/share/rpcd/acl.d/luci-app-frpc.json index 8567eb3f3a..b2bb22325a 100644 --- a/applications/luci-app-frpc/root/usr/share/rpcd/acl.d/luci-app-frpc.json +++ b/applications/luci-app-frpc/root/usr/share/rpcd/acl.d/luci-app-frpc.json @@ -2,6 +2,10 @@ "luci-app-frpc": { "description": "Grant access to LuCI app frpc", "read": { + "file": { + "/etc/passwd": ["read"], + "/etc/group": ["read"] + }, "uci": ["frpc"] }, "write": { -- 2.30.2