fix(luci-app-network-tweaks): Set correct file permissions for JS/CSS

- Add explicit 644 permissions for overview.js and dashboard.css
- Fixes HTTP 403 error when accessing the view

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
CyberMind-FR 2026-01-13 17:42:59 +01:00
parent e6835828af
commit 30ff7578ba

View File

@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-network-tweaks
PKG_VERSION:=1.0.0
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_ARCH:=all
PKG_LICENSE:=Apache-2.0
PKG_MAINTAINER:=CyberMind <contact@cybermind.fr>
@ -23,7 +23,9 @@ endef
PKG_FILE_MODES:=/usr/libexec/rpcd/luci.network-tweaks:root:root:755 \
/usr/sbin/network-tweaks-sync:root:root:755 \
/etc/init.d/network-tweaks:root:root:755 \
/etc/hotplug.d/iface/99-network-tweaks:root:root:755
/etc/hotplug.d/iface/99-network-tweaks:root:root:755 \
/www/luci-static/resources/view/network-tweaks/overview.js:root:root:644 \
/www/luci-static/resources/network-tweaks/dashboard.css:root:root:644
include $(TOPDIR)/feeds/luci/luci.mk