summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-clamav/root/usr/share/rpcd
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-clamav/root/usr/share/rpcd')
-rw-r--r--applications/luci-app-clamav/root/usr/share/rpcd/acl.d/luci-app-clamav.json12
1 files changed, 10 insertions, 2 deletions
diff --git a/applications/luci-app-clamav/root/usr/share/rpcd/acl.d/luci-app-clamav.json b/applications/luci-app-clamav/root/usr/share/rpcd/acl.d/luci-app-clamav.json
index 09d46d08bb..06529a01f3 100644
--- a/applications/luci-app-clamav/root/usr/share/rpcd/acl.d/luci-app-clamav.json
+++ b/applications/luci-app-clamav/root/usr/share/rpcd/acl.d/luci-app-clamav.json
@@ -2,10 +2,18 @@
"luci-app-clamav": {
"description": "Grant UCI access for luci-app-clamav",
"read": {
- "uci": [ "clamav" ]
+ "file": [ "/tmp/*" ],
+ "uci": [ "clamav", "clamav-milter", "freshclam" ]
},
"write": {
- "uci": [ "clamav" ]
+ "file": {
+ "/etc/init.d/clamav *": [ "exec" ],
+ "/etc/init.d/clamav-milter *": [ "exec" ],
+ "/etc/init.d/freshclam *": [ "exec" ],
+ "/sbin/logread -e clamav": [ "exec" ],
+ "/usr/sbin/logread -e clamav": [ "exec" ]
+ },
+ "uci": [ "clamav", "clamav-milter", "freshclam" ]
}
}
}