Move su request path to magisk tmp

This commit is contained in:
vvb2060
2023-06-19 04:09:20 +08:00
committed by John Wu
parent 2359cfc480
commit 9929b25339
3 changed files with 30 additions and 43 deletions

View File

@@ -265,7 +265,7 @@ void MagiskInit::setup_tmp(const char *path) {
LOGD("Setup Magisk tmp at %s\n", path);
chdir("/data");
xmkdir(INTLROOT, 0755);
xmkdir(INTLROOT, 0711);
xmkdir(MIRRDIR, 0);
xmkdir(BLOCKDIR, 0);
xmkdir(WORKERDIR, 0);