From bf3c8c6fa611a6b3fcc8250ec39ca143f613a37a Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Sun, 22 Dec 2024 11:27:11 -0600 Subject: [PATCH] Change ownership of directories --- launch.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/launch.sh b/launch.sh index b6e34fa..53fcee4 100644 --- a/launch.sh +++ b/launch.sh @@ -20,6 +20,7 @@ if ! [[ -f "Server-Files-$SERVER_VERSION.zip" ]]; then DIR_TEST=$(find . -type d -maxdepth 1 | tail -1 | sed 's/^.\{2\}//g') if [[ $(find . -type d -maxdepth 1 | wc -l) -gt 1 ]]; then cd "${DIR_TEST}" + find . -type d -exec chmod 777 {} + mv -f * /data cd /data rm -fr "$DIR_TEST"