mirror of
https://github.com/2dust/v2rayN.git
synced 2026-04-14 19:45:45 +00:00
Set more strict permissions on logs and configs
This commit is contained in:
parent
912b9a5c28
commit
e0ae89b5a6
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue