From: Huangbin Zhan Date: Thu, 7 May 2020 09:36:45 +0000 (+0800) Subject: luci-app-frpc: add uci file read permissions X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fpull%2F4028%2Fhead;p=project%2Fluci.git luci-app-frpc: add uci file read permissions Signed-off-by: Huangbin Zhan --- 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": {