From 0691504ef0df09c64ae74b744f4912a095d6d14e Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Fri, 8 Nov 2024 11:33:44 +0100 Subject: [PATCH] luci-app-wifischedule: tighten acl perms Signed-off-by: Paul Donald --- .../root/usr/share/rpcd/acl.d/luci-app-wifischedule.json | 6 +++--- 1 file 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 dbef438e1b29..c595147700f6 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": {