summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'modules/luci-base/root/usr')
-rw-r--r--modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json6
1 files changed, 4 insertions, 2 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 a0852eaec5..f2ee7ce2c3 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
@@ -23,6 +23,7 @@
"file": {
"/": [ "list" ],
"/*": [ "list" ],
+ "/etc/rc.local": [ "read" ],
"/proc/sys/kernel/hostname": [ "read" ]
},
"ubus": {
@@ -39,10 +40,11 @@
"write": {
"cgi-io": [ "upload", "/etc/luci-uploads/*" ],
"file": {
- "/etc/luci-uploads/*": [ "write" ]
+ "/etc/luci-uploads/*": [ "write" ],
+ "/etc/rc.local": [ "write" ]
},
"ubus": {
- "file": [ "remove" ],
+ "file": [ "write", "remove" ],
"iwinfo": [ "scan" ],
"luci": [ "setInitAction", "setLocaltime" ],
"uci": [ "add", "apply", "confirm", "delete", "order", "set", "rename" ]