summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/root/usr/share/rpcd
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-10-31 16:25:49 +0100
committerJo-Philipp Wich <jo@mein.io>2019-11-01 12:03:33 +0100
commit5ce16764ad3212367547555dbbfe9c5f4f221118 (patch)
tree3218177ddadb8f823a12a2fbd60d392ff48346d7 /modules/luci-base/root/usr/share/rpcd
parentc67d2ddc2ce34bb2d985b3864706d2cf49e65b6c (diff)
luci-base, luci-mod-system: replace luci/setUmount with fs.exec calls
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/root/usr/share/rpcd')
-rw-r--r--modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json3
1 files changed, 2 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 51a7860dea..e757beab6c 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
@@ -63,13 +63,14 @@
"/sbin/reboot": [ "exec" ],
"/sbin/sysupgrade": [ "exec" ],
"/bin/tar": [ "exec" ],
+ "/bin/umount": [ "exec" ],
"/tmp/backup.tar.gz": [ "write" ],
"/tmp/firmware.bin": [ "write" ]
},
"ubus": {
"file": [ "write", "remove", "exec" ],
"iwinfo": [ "scan" ],
- "luci": [ "setInitAction", "setLocaltime", "setPassword", "setBlockDetect", "setUmount" ],
+ "luci": [ "setInitAction", "setLocaltime", "setPassword", "setBlockDetect" ],
"uci": [ "add", "apply", "confirm", "delete", "order", "set", "rename" ]
},
"uci": [ "*" ]