From 806cd134192f955fa166f228dfd4db4acaa377d2 Mon Sep 17 00:00:00 2001 From: Dirk Brenken Date: Sun, 19 Jul 2026 18:03:34 +0200 Subject: [PATCH] luci-app-travelmate: fix WLAN scan for non-root users - added the missing "download" scope to cgi-io Path access remains restricted by the existing file ACL, so no additional file becomes readable. Also drop the stale travelmate.pid entry, it has no consumer in the frontend anymore. Fixes: https://github.com/openwrt/luci/issues/8840 Signed-off-by: Dirk Brenken --- applications/luci-app-travelmate/Makefile | 2 +- .../root/usr/share/rpcd/acl.d/luci-app-travelmate.json | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/applications/luci-app-travelmate/Makefile b/applications/luci-app-travelmate/Makefile index 1a1ad240a8..9f2dba9e2b 100644 --- a/applications/luci-app-travelmate/Makefile +++ b/applications/luci-app-travelmate/Makefile @@ -7,7 +7,7 @@ LUCI_TITLE:=LuCI support for Travelmate LUCI_DEPENDS:=+luci-base +luci-lib-uqr +travelmate PKG_VERSION:=2.4.6 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_LICENSE:=Apache-2.0 PKG_MAINTAINER:=Dirk Brenken diff --git a/applications/luci-app-travelmate/root/usr/share/rpcd/acl.d/luci-app-travelmate.json b/applications/luci-app-travelmate/root/usr/share/rpcd/acl.d/luci-app-travelmate.json index d47114b17e..2397b87f4f 100644 --- a/applications/luci-app-travelmate/root/usr/share/rpcd/acl.d/luci-app-travelmate.json +++ b/applications/luci-app-travelmate/root/usr/share/rpcd/acl.d/luci-app-travelmate.json @@ -13,15 +13,13 @@ }, "read": { "cgi-io": [ + "download", "exec" ], "file": { "/etc/travelmate/*.login": [ "list" ], - "/var/run/travelmate/travelmate.pid": [ - "read" - ], "/var/run/travelmate/travelmate.scan": [ "read" ],