From 30e3d277b629a69bbec652e3de828cc49aa527d1 Mon Sep 17 00:00:00 2001 From: Huangbin Zhan Date: Thu, 7 May 2020 17:36:45 +0800 Subject: luci-app-frpc: add uci file read permissions Signed-off-by: Huangbin Zhan --- .../luci-app-frpc/root/usr/share/rpcd/acl.d/luci-app-frpc.json | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'applications/luci-app-frpc') 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 8567eb3f3..b2bb22325 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": { -- cgit v1.2.3