summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2020-05-07 12:42:36 +0200
committerGitHub <noreply@github.com>2020-05-07 12:42:36 +0200
commitca3267e6ec4f682ba9b462aaeb906d2447fa18b8 (patch)
treebb5730f15350f200c3d22f1ef12e857379328a28
parente05c219b24645f27e8d0adc2a523d610392246a3 (diff)
parent30e3d277b629a69bbec652e3de828cc49aa527d1 (diff)
Merge pull request #4028 from zhanhb/luci-app-frpc
luci-app-frpc: add uci file read permissions
-rw-r--r--applications/luci-app-frpc/root/usr/share/rpcd/acl.d/luci-app-frpc.json4
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 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": {