mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-10-18 01:18:11 +00:00
Removing chmod g+w at start to tighten security (#2363)
This commit is contained in:
1 parent
bb57d7e99f
commit
df53fe3971
4 files changed
+25
-18
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user