Removing chmod g+w at start to tighten security (#2363)

This commit is contained in:
Geoff Bourne
2023-08-29 22:01:34 -05:00
committed by GitHub
parent bb57d7e99f
commit df53fe3971
4 changed files with 25 additions and 18 deletions

View File

@@ -8,7 +8,6 @@
: "${GID:=1000}"
umask 0002
chmod g+w /data
if isTrue "${ENABLE_RCON:-true}" && ! [ -v RCON_PASSWORD ] && ! [ -v RCON_PASSWORD_FILE ]; then
RCON_PASSWORD=$(openssl rand -hex 12)