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

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

No files matched your search

-1
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)