Skip to content

Instantly share code, notes, and snippets.

@iamludal
Created February 22, 2024 07:49
Show Gist options
  • Save iamludal/385fe1efa45792fb71cceda1aa528018 to your computer and use it in GitHub Desktop.
Save iamludal/385fe1efa45792fb71cceda1aa528018 to your computer and use it in GitHub Desktop.
Set Android permissions for system cacerts.
# 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/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment