#!/bin/bash cd "$(dirname "$0")" docker build -t ut4hubserver . mkdir paks ./pakfilelist useradd ut sudo chown -R ut:ut paks sudo chown -R ut:ut config sudo chown -R ut:ut rulesets sudo chown -R ut:ut hubtools #sudo chown -R $USER:$USER paks #sudo chown -R $USER:$USER config #sudo chown -R $USER:$USER rulesets #sudo chown -R $USER:$USER hubtools sudo chmod -R 777 paks sudo chmod -R 777 config sudo chmod -R 777 rulesets sudo chmod -R 777 hubtools