From e0ae89b5a6d483eff7d212460fc9b457a0c7eb2b Mon Sep 17 00:00:00 2001 From: Valeriy Manzhos <47538801+InvisibleRain@users.noreply.github.com> Date: Fri, 10 Apr 2026 15:41:56 +0300 Subject: [PATCH] Set more strict permissions on logs and configs --- package-debian.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package-debian.sh b/package-debian.sh index 120b3d81..177df8af 100644 --- a/package-debian.sh +++ b/package-debian.sh @@ -599,6 +599,10 @@ setcap 'CAP_NET_ADMIN+ep' /opt/v2rayN/bin/hev_socks5_tunnel/hev-socks5-tunnel chmod 444 /opt/v2rayN/bin/hev_socks5_tunnel/v2rayn-tun.yaml chmod +x /opt/v2rayN/bin/sing_box/sing-box chmod +x /opt/v2rayN/bin/xray/xray +chown -R v2rayn-core:v2rayn /opt/v2rayN/binConfigs +chmod 570 /opt/v2rayN/binConfigs +chown -R v2rayn-core:v2rayn /opt/v2rayN/guiLogs +chmod 750 /opt/v2rayN/guiLogs loginctl enable-linger v2rayn-core exit 0 EOF