From 3f7a92146d0dc85b3a2796b6302fea8ff0793f8c Mon Sep 17 00:00:00 2001 From: Julio B Date: Fri, 21 Jun 2024 03:50:38 +0300 Subject: [PATCH] Fix incorrect command in ADB cert injection script Fixes: 59f013f5 --- src/interceptors/android/adb-commands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interceptors/android/adb-commands.ts b/src/interceptors/android/adb-commands.ts index 38de3350..cb82dae5 100644 --- a/src/interceptors/android/adb-commands.ts +++ b/src/interceptors/android/adb-commands.ts @@ -410,7 +410,7 @@ export async function injectSystemCertificate( # Create a separate temp directory, to hold the current certificates # Without this, when we add the mount we can't read the current certs anymore. mkdir -p /data/local/tmp/htk-ca-copy - chown 700 /data/local/tmp/htk-ca-copy + chmod 700 /data/local/tmp/htk-ca-copy rm -rf /data/local/tmp/htk-ca-copy/* # Copy out the existing certificates