installd renames dirs in /data/app-staging
before removing a session directory. Hence, it needs more permissions on staging_data_file. Bug: 343165326 Test: atest CtsStagedInstallHostTestCases:com.android.tests.stagedinstall.host.StagedInstallTest#testRebootlessUpdate_unsignedPayload_fails Change-Id: Ic94c74d4ef896129491cee39098f43f33793851f
This commit is contained in:
parent
12d84e2484
commit
cb51acc9dc
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ get_prop(installd, odsign_prop)
|
|||
|
||||
# Allow installd to delete files in /data/staging
|
||||
allow installd staging_data_file:file unlink;
|
||||
allow installd staging_data_file:dir { open read remove_name rmdir search write getattr };
|
||||
allow installd staging_data_file:dir { open read add_name remove_name rename rmdir search write getattr };
|
||||
|
||||
allow installd { dex2oat dexoptanalyzer }:process signal;
|
||||
|
||||
|
|
Loading…
Reference in a new issue