#!/bin/bash while : do # chown nethack directory chown -R nethack:nethack /hack 2> /dev/null chmod -R 744 /hack 2> /dev/null # chown sotw directory chown -R nethack:nethack /sotw 2> /dev/null chmod -R 744 /sotw 2> /dev/null sleep 2 done