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: I4a2e97a033d1faece97600d3188c81e094a02c21
Merged-In: I4a2e97a033d1faece97600d3188c81e094a02c21
(cherry picked from commit 431d92181847a7da3679a8cdd7d545441803d101)
2 files changed