Ensure subdirectories of sdk data inherit group id of parent
When sandbox process creates files under sdk data directory, the files
get their owner id and group id set to sandbox uid. This is the default
behavior.
This causes problems for storage calculation. These files should inherit
their parent group id, which is AID_NOBODY.
Bug: 215506889
Test: atest installd_service_test
Ignore-AOSP-First: Some of the cls are missing in AOSP. Will cherry-pick
this with rest of them together next week.
Change-Id: I0041680350ca81368ec6cc5614d5797fc1cb0aea
Change-Id: I4a2e97a033d1faece97600d3188c81e094a02c21
2 files changed