summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/root/usr/share/rpcd
diff options
context:
space:
mode:
Diffstat (limited to 'modules/luci-base/root/usr/share/rpcd')
-rw-r--r--modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json b/modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json
index a7d3edaf2e..3c1495de26 100644
--- a/modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json
+++ b/modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json
@@ -70,6 +70,7 @@
"file": {
"/etc/crontabs/root": [ "write" ],
"/etc/dropbear/authorized_keys": [ "write" ],
+ "/etc/init.d/firewall restart": [ "exec" ],
"/etc/luci-uploads/*": [ "write" ],
"/etc/rc.local": [ "write" ],
"/etc/sysupgrade.conf": [ "write" ],
@@ -85,7 +86,9 @@
"/bin/umount": [ "exec" ],
"/tmp/backup.tar.gz": [ "write" ],
"/tmp/firmware.bin": [ "write" ],
- "/tmp/upload.ipk": [ "write" ]
+ "/tmp/upload.ipk": [ "write" ],
+ "/usr/sbin/iptables -Z": [ "exec" ],
+ "/usr/sbin/ip6tables -Z": [ "exec" ]
},
"ubus": {
"file": [ "write", "remove", "exec" ],