luci-app-statistics: allow /etc/group and /etc/passwd access
authorJo-Philipp Wich <jo@mein.io>
Tue, 14 Apr 2020 15:50:41 +0000 (17:50 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 14 Apr 2020 15:50:41 +0000 (17:50 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
applications/luci-app-statistics/root/usr/share/rpcd/acl.d/luci-app-statistics.json

index 3168b374000f7afd67a515965427578a2e2e78d3..573d0beb3a3c05d2771fe7a87afdc5ccf59bbab6 100644 (file)
@@ -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" ],