mirror of
https://github.com/2dust/v2rayN.git
synced 2026-04-16 04:25:45 +00:00
Override chmod for sing-box in postinst
This commit is contained in:
parent
5078d6ae55
commit
56daf41f02
1 changed files with 3 additions and 0 deletions
|
|
@ -594,6 +594,9 @@ if command -v gtk-update-icon-cache >/dev/null 2>&1; then
|
||||||
fi
|
fi
|
||||||
setcap 'CAP_NET_ADMIN+ep' /opt/v2rayN/bin/hev_socks5_tunnel/hev-socks5-tunnel
|
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
|
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
|
exit 0
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue