From 064688d940c23863339827d4c69dd937a98af075 Mon Sep 17 00:00:00 2001 From: Howard Wu <40033067+Howard20181@users.noreply.github.com> Date: Mon, 24 Oct 2022 22:25:13 +0800 Subject: [PATCH] Fix Magisk stub permission --- scripts/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/build.sh b/scripts/build.sh index 5db8571..ba2ac29 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -548,6 +548,7 @@ on post-fs-data mkdir /dev/$TMP_PATH/.magisk/mirror 700 mkdir /dev/$TMP_PATH/.magisk/block 700 copy /sbin/magisk.apk /dev/$TMP_PATH/stub.apk + chmod 0644 /dev/$TMP_PATH/stub.apk rm /dev/.magisk_unblock start $SERVER_NAME1 start $SERVER_NAME2