diff options
Diffstat (limited to 'applications/luci-app-aria2/root/usr/share/rpcd/acl.d/luci-app-aria2.json')
-rw-r--r-- | applications/luci-app-aria2/root/usr/share/rpcd/acl.d/luci-app-aria2.json | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/applications/luci-app-aria2/root/usr/share/rpcd/acl.d/luci-app-aria2.json b/applications/luci-app-aria2/root/usr/share/rpcd/acl.d/luci-app-aria2.json index 891f97c28f..af5d31e9bd 100644 --- a/applications/luci-app-aria2/root/usr/share/rpcd/acl.d/luci-app-aria2.json +++ b/applications/luci-app-aria2/root/usr/share/rpcd/acl.d/luci-app-aria2.json @@ -2,6 +2,15 @@ "luci-app-aria2": { "description": "Grant UCI access for luci-app-aria2", "read": { + "ubus": { + "service": [ "list" ] + }, + "file": { + "/etc/passwd": [ "read" ], + "/sbin/logread": [ "exec" ], + "/usr/bin/aria2c": [ "exec" ], + "/usr/libexec/aria2-call": [ "exec" ] + }, "uci": [ "aria2" ] }, "write": { |