diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-04-14 17:51:09 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-04-14 17:51:09 +0200 |
commit | f2731ceaa9d4db7a18840c2ad4f3f9e7d4f9abf5 (patch) | |
tree | c6b4945f1f88383c59ec01a59d8fe5ce121c6246 /applications/luci-app-frps/root/usr/share/rpcd/acl.d | |
parent | 1dad678379c9a1914b0cb8c339d93732518c3226 (diff) |
luci-app-frps: allow /etc/config/frps, /etc/group and /etc/passwd access
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-frps/root/usr/share/rpcd/acl.d')
-rw-r--r-- | applications/luci-app-frps/root/usr/share/rpcd/acl.d/luci-app-frps.json | 7 |
1 files changed, 7 insertions, 0 deletions
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 8c0f8f5a06..b065945b35 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"] } |