79670567

Date: 2025-06-18 11:46:40
Score: 1.5
Natty:
Report link

Resolved by setting config.fs file on device.mk
TARGET_FS_CONFIG_GEN += path/to/my_config.fs

And setting my_config.fs

[system/bin/foo_service]
mode: 0555
user: AID_VENDOR_FOO
group: AID_SYSTEM
caps: SYS_ADMIN | SYS_NICE

Reference https://source.android.com/docs/core/permissions/filesystem

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Marco Polo