diff --git a/minecraft-server/start b/minecraft-server/start index 8a1001c1..562f612c 100755 --- a/minecraft-server/start +++ b/minecraft-server/start @@ -1,5 +1,8 @@ #!/bin/bash +umask 0002 +chmod g+w /data + if [ $(id -u) = 0 ]; then if [[ -v UID && $UID != $(id -u) ]]; then usermod -u $UID minecraft