From 7a7f01dea61f1eed5e8b9ab674d1a8cb17acd447 Mon Sep 17 00:00:00 2001 From: Fabiao De Gongniu Date: Sun, 9 Aug 2026 08:51:00 +0800 Subject: [PATCH] luci-app-natmap: allow reading status under /tmp/run rpcd's file plugin now checks ACL against the real path of symlinks, so /var/run/natmap/* (which resolves to /tmp/run/natmap/* on OpenWrt) gets rejected and the LuCI status view shows none. Add the resolved path to the read ACL. Signed-off-by: Fabiao De Gongniu (cherry picked from commit 7a1fc2886fff96468040b77a561a78c91b368157) --- .../root/usr/share/rpcd/acl.d/luci-app-natmap.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/applications/luci-app-natmap/root/usr/share/rpcd/acl.d/luci-app-natmap.json b/applications/luci-app-natmap/root/usr/share/rpcd/acl.d/luci-app-natmap.json index ccaee887957e..a2975373d157 100644 --- a/applications/luci-app-natmap/root/usr/share/rpcd/acl.d/luci-app-natmap.json +++ b/applications/luci-app-natmap/root/usr/share/rpcd/acl.d/luci-app-natmap.json @@ -3,7 +3,8 @@ "description": "Grant access to LuCI app natmap", "read": { "file": { - "/var/run/natmap/*": [ "read" ] + "/var/run/natmap/*": [ "read" ], + "/tmp/run/natmap/*": [ "read" ] }, "ubus": { "service": [ "list" ]