summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-wifischedule/root/usr/share/rpcd/acl.d
diff options
context:
space:
mode:
authorPaul Donald <newtwen+github@gmail.com>2024-11-08 11:33:44 +0100
committerPaul Donald <newtwen+github@gmail.com>2024-11-08 11:33:44 +0100
commit0691504ef0df09c64ae74b744f4912a095d6d14e (patch)
tree730f2d87dfa51df845a45bfce2a5b72ed146503f /applications/luci-app-wifischedule/root/usr/share/rpcd/acl.d
parent8f7f14208a4b694d24ab8faf0a759b8dd8d35ff9 (diff)
luci-app-wifischedule: tighten acl perms
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
Diffstat (limited to 'applications/luci-app-wifischedule/root/usr/share/rpcd/acl.d')
-rw-r--r--applications/luci-app-wifischedule/root/usr/share/rpcd/acl.d/luci-app-wifischedule.json6
1 files changed, 3 insertions, 3 deletions
diff --git a/applications/luci-app-wifischedule/root/usr/share/rpcd/acl.d/luci-app-wifischedule.json b/applications/luci-app-wifischedule/root/usr/share/rpcd/acl.d/luci-app-wifischedule.json
index dbef438e1b..c595147700 100644
--- a/applications/luci-app-wifischedule/root/usr/share/rpcd/acl.d/luci-app-wifischedule.json
+++ b/applications/luci-app-wifischedule/root/usr/share/rpcd/acl.d/luci-app-wifischedule.json
@@ -4,9 +4,9 @@
"read": {
"uci": [ "wifi_schedule" ],
"file": {
- "/usr/bin/iwinfo": [ "read" ],
- "/usr/bin/wifi_schedule.sh": ["exec", "read"],
- "/sbin/wifi": ["read"]
+ "/usr/bin/iwinfo": [ "stat" ],
+ "/usr/bin/wifi_schedule.sh": ["exec"],
+ "/sbin/wifi": ["stat"]
}
},
"write": {