From 454de34a92fb5b3965c346f709c35fef721d037b Mon Sep 17 00:00:00 2001 From: Jim Wu Date: Fri, 25 Dec 2020 12:38:35 +0800 Subject: [PATCH] Fix permission --- edxp-core/template_override/post-fs-data.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/edxp-core/template_override/post-fs-data.sh b/edxp-core/template_override/post-fs-data.sh index 8e60bee8..b440daec 100644 --- a/edxp-core/template_override/post-fs-data.sh +++ b/edxp-core/template_override/post-fs-data.sh @@ -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