summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-statistics/root
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-04-14 17:50:41 +0200
committerJo-Philipp Wich <jo@mein.io>2020-04-14 17:50:41 +0200
commit1dad678379c9a1914b0cb8c339d93732518c3226 (patch)
tree6d555b321218ae57380b5630be8bdf4b15b01254 /applications/luci-app-statistics/root
parent9d8e99f9bed1402543e128c2543fdbd5e2f9c338 (diff)
luci-app-statistics: allow /etc/group and /etc/passwd access
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-statistics/root')
-rw-r--r--applications/luci-app-statistics/root/usr/share/rpcd/acl.d/luci-app-statistics.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/applications/luci-app-statistics/root/usr/share/rpcd/acl.d/luci-app-statistics.json b/applications/luci-app-statistics/root/usr/share/rpcd/acl.d/luci-app-statistics.json
index 3168b3740..573d0beb3 100644
--- a/applications/luci-app-statistics/root/usr/share/rpcd/acl.d/luci-app-statistics.json
+++ b/applications/luci-app-statistics/root/usr/share/rpcd/acl.d/luci-app-statistics.json
@@ -5,6 +5,8 @@
"cgi-io": [ "read", "exec" ],
"file": {
"/etc/filesystems": [ "read" ],
+ "/etc/group": [ "read" ],
+ "/etc/passwd": [ "read" ],
"/proc/filesystems": [ "read" ],
"/proc/interrupts": [ "read" ],
"/proc/mounts": [ "read" ],