diff options
author | Huangbin Zhan <zhanhb88@gmail.com> | 2020-05-07 17:36:45 +0800 |
---|---|---|
committer | zhanhb <6323014+zhanhb@users.noreply.github.com> | 2020-05-07 17:39:41 +0800 |
commit | 30e3d277b629a69bbec652e3de828cc49aa527d1 (patch) | |
tree | bb5730f15350f200c3d22f1ef12e857379328a28 /applications/luci-app-frpc/root/usr/share/rpcd/acl.d | |
parent | e05c219b24645f27e8d0adc2a523d610392246a3 (diff) |
luci-app-frpc: add uci file read permissions
Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
Diffstat (limited to 'applications/luci-app-frpc/root/usr/share/rpcd/acl.d')
-rw-r--r-- | applications/luci-app-frpc/root/usr/share/rpcd/acl.d/luci-app-frpc.json | 4 |
1 files changed, 4 insertions, 0 deletions
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": { |