From 56daf41f028f5dff4af774e48d966c40fdb6d878 Mon Sep 17 00:00:00 2001 From: Valeriy Manzhos <47538801+InvisibleRain@users.noreply.github.com> Date: Tue, 7 Apr 2026 16:14:35 +0300 Subject: [PATCH] Override chmod for sing-box in postinst --- package-debian.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package-debian.sh b/package-debian.sh index afac8a7e..1fb7895b 100644 --- a/package-debian.sh +++ b/package-debian.sh @@ -594,6 +594,9 @@ if command -v gtk-update-icon-cache >/dev/null 2>&1; then fi setcap 'CAP_NET_ADMIN+ep' /opt/v2rayN/bin/hev_socks5_tunnel/hev-socks5-tunnel chown -R v2rayn-core:v2rayn-core /opt/v2rayN/bin/hev_socks5_tunnel +chmod 444 /opt/v2rayN/bin/hev_socks5_tunnel/v2rayn-tun.yaml +chmod 544 /opt/v2rayN/bin/hev_socks5_tunnel/hev-socks5-tunnel +chmod +x /opt/v2rayN/bin/sing_box/hev-socks5-tunnel exit 0 EOF