diff --git a/run.sh b/run.sh index a4e0f57..560aead 100755 --- a/run.sh +++ b/run.sh @@ -11,8 +11,8 @@ echo "# Ark Server - " `date` echo "###########################################################################" echo "Ensuring correct permissions..." -sudo chown steam:steam -R /ark -sudo chown steam:steam -R /home/steam +sudo find /ark -not -user steam -o -not -group steam -exec chown -v steam:steam {} \; +sudo find /home/steam -not -user steam -o -not -group steam -exec chown -v steam:steam {} \; # Remove arkmanager tracking files if they exist # They can cause issues with starting the server multiple times