Skip to content

Commit

Permalink
Set Android SELinux label on root cacerts dir too
Browse files Browse the repository at this point in the history
  • Loading branch information
pimterry committed Apr 9, 2024
1 parent f05c380 commit 704d594
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/interceptors/android/adb-commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,8 @@ export async function injectSystemCertificate(
# Update the perms & selinux context labels, so everything is as readable as before
chown root:root /system/etc/security/cacerts/*
chmod 644 /system/etc/security/cacerts/*
chcon u:object_r:system_file:s0 /system/etc/security/cacerts/
chcon u:object_r:system_file:s0 /system/etc/security/cacerts/*
echo 'System cacerts setup completed'
Expand Down

0 comments on commit 704d594

Please sign in to comment.