I am developing a system app that will read a file that is created on the system directory when the image is deployed.
The source for the image is managed by us also so we can make whatever modifications are required. The system app itself runs as the system process and I "simply" need to grant read access to the system directory to this user.
Grateful for any pointers on this.
As an alternative to this approach, the Vendor partition was used and the permissions to the new files and directories required was granting manually while running in the recovery image.