Merge pull request #253 from proudlytm/master

mc: set umask to 0002 and chmod g+w the /data folder
This commit is contained in:
Geoff Bourne 2018-09-27 08:25:29 -05:00 committed by GitHub
commit 44d2081b7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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