From: Jo-Philipp Wich Date: Tue, 14 Apr 2020 15:51:09 +0000 (+0200) Subject: luci-app-frps: allow /etc/config/frps, /etc/group and /etc/passwd access X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f2731ceaa9d4db7a18840c2ad4f3f9e7d4f9abf5;p=oweals%2Fluci.git luci-app-frps: allow /etc/config/frps, /etc/group and /etc/passwd access Signed-off-by: Jo-Philipp Wich --- 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"] }