Override chmod for sing-box in postinst

This commit is contained in:
Valeriy Manzhos 2026-04-07 16:14:35 +03:00
parent 5078d6ae55
commit 56daf41f02
No known key found for this signature in database
GPG key ID: 6547CFC8E2EC3D90

View file

@ -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