From: Paul Donald Date: Fri, 8 Nov 2024 10:33:44 +0000 (+0100) Subject: luci-app-wifischedule: tighten acl perms X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0691504ef0df09c64ae74b744f4912a095d6d14e;p=project%2Fluci.git luci-app-wifischedule: tighten acl perms Signed-off-by: Paul Donald --- 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": {