Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit d807125

Browse files
authored
cert-transparency: fix chrome failing to read command-line file
1 parent 6e305b0 commit d807125

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/interceptors/android/adb-commands.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,8 @@ export async function setChromeFlags(
290290
${
291291
chromeFlagsLocations.map((flagsFilePath) => `
292292
echo "${flagsFileContent}" > "${flagsFilePath}"
293-
chmod 744 "${flagsFilePath}"`
293+
chmod 744 "${flagsFilePath}"
294+
chcon "u:object_r:shell_data_file:s0" "${flagsFilePath}"`
294295
).join('\n')
295296
}
296297

0 commit comments

Comments
 (0)