diff options
author | Orion Hodson <oth@google.com> | 2021-02-27 22:23:18 +0000 |
---|---|---|
committer | Orion Hodson <oth@google.com> | 2021-03-02 12:03:20 +0000 |
commit | 8f19867228345de08e8c224a3743c3f24926f834 (patch) | |
tree | d4980670134504a92eb0a85649b9bfc09e26a089 /test/MultiDexModifiedSecondary | |
parent | e5276da1c7179e768ef25d2a65702816261cab59 (diff) |
odrefresh: fixes for launching from init
When launched from init, the umask() of odrefresh is 0077 which means
only the owner can read files and directories created by
odrefresh. This prevents loading system_server compilation artifacts.
This change unsets the umask when creating installation directories
and files. It also ensures they have the expected permissions.
Fix: 181397437
Test: trigger recompilation, observe system_server odexes mapped
Change-Id: I7086421d4a2281c563dc1fdb3ec74e31da9da978
Diffstat (limited to 'test/MultiDexModifiedSecondary')
0 files changed, 0 insertions, 0 deletions