summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorRichard Yu <yurichard3839@gmail.com>2019-10-23 20:22:11 +0800
committerJo-Philipp Wich <jo@mein.io>2019-11-01 12:03:33 +0100
commitc360cdd1f0b03ec208eaf1f8f85893aec50c7555 (patch)
tree2d99d20cba5884ed396cc4f0b4c541bede46c7df /modules
parent33346dadf483327bc6e474b5cd8e9ab827873170 (diff)
luci-app-opkg: add ipk upload feature
Signed-off-by: Richard Yu <yurichard3839@gmail.com> [fix duplicate upload errors, remove temporary file, tweak style] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules')
-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 098af140d..a09c6b424 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
@@ -69,7 +69,8 @@
"/bin/tar": [ "exec" ],
"/bin/umount": [ "exec" ],
"/tmp/backup.tar.gz": [ "write" ],
- "/tmp/firmware.bin": [ "write" ]
+ "/tmp/firmware.bin": [ "write" ],
+ "/tmp/upload.ipk": [ "write" ]
},
"ubus": {
"file": [ "write", "remove", "exec" ],