Skip to content

Commit

Permalink
fix: Permission control of the log folder
Browse files Browse the repository at this point in the history
  • Loading branch information
dctxmei committed Jul 25, 2020
1 parent 238469c commit b09dd49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -353,9 +353,9 @@ install_v2ray() {
# Used to store V2Ray log files
if [[ ! -d '/var/log/v2ray/' ]]; then
if [[ -n "$(id nobody | grep nogroup)" ]]; then
install -d -o nobody -g nogroup /var/log/v2ray/
install -d -m 700 -o nobody -g nogroup /var/log/v2ray/
else
install -d -o nobody -g nobody /var/log/v2ray/
install -d -m 700 -o nobody -g nobody /var/log/v2ray/
fi
LOG='1'
fi
Expand Down

0 comments on commit b09dd49

Please sign in to comment.