summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-p910nd/root/usr/share/rpcd/acl.d
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-p910nd/root/usr/share/rpcd/acl.d')
-rw-r--r--applications/luci-app-p910nd/root/usr/share/rpcd/acl.d/luci-app-p910nd.json9
1 files changed, 8 insertions, 1 deletions
diff --git a/applications/luci-app-p910nd/root/usr/share/rpcd/acl.d/luci-app-p910nd.json b/applications/luci-app-p910nd/root/usr/share/rpcd/acl.d/luci-app-p910nd.json
index b2e7476e61..7111081bb9 100644
--- a/applications/luci-app-p910nd/root/usr/share/rpcd/acl.d/luci-app-p910nd.json
+++ b/applications/luci-app-p910nd/root/usr/share/rpcd/acl.d/luci-app-p910nd.json
@@ -2,7 +2,14 @@
"luci-app-p910nd": {
"description": "Grant UCI access for luci-app-p910nd",
"read": {
- "uci": [ "p910nd" ]
+ "uci": [ "p910nd" ],
+ "file": {
+ "/usr/bin/find -L /dev -maxdepth 3 -type c -name lp*": ["exec"],
+ "/usr/libexec/opkg-call list-installed": ["exec"]
+ },
+ "ubus": {
+ "luci": [ "p910nd" ]
+ }
},
"write": {
"uci": [ "p910nd" ]