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