Fix permission

This commit is contained in:
Jim Wu 2020-12-25 12:38:35 +08:00 committed by GitHub
parent eef5ef29f0
commit 454de34a92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -169,6 +169,7 @@ chmod -R 666 "${LOG_PATH}"
if [[ ! -z "${MISC_PATH}" ]]; then
mkdir -p "${BASE_PATH}/cache"
chcon -R u:object_r:magisk_file:s0 "${BASE_PATH}"
chmod -R 777 "${BASE_PATH}"
chmod 771 "${BASE_PATH}"
chmod 777 "${BASE_PATH}/cache"
fi
rm -f /data/adb/edxp/new_install