Add execute permission to /data/app-staging folder

Package verifiers (e.g, phonesky) needs to access the folders inside
/data/app-staging to be able to verify them. Without the execute
permission on app-staging folder, it cannot stat any of the sub-dirs
inside app-staging.

This also aligns with permission of /data/app folder.

Bug: 175163376
Test: manual
Test: installed a staged session and observed that Phonesky did not log
about not finding the apks in /data/app-staging folder

Change-Id: I9774ed800da9f15401d3cee653142a37bf54ef4a
This commit is contained in:
Mohammad Samiul Islam 2020-12-09 21:05:28 +00:00
parent 0a9aff2315
commit 64fe2c66e2
1 changed files with 1 additions and 1 deletions

View File

@ -652,7 +652,7 @@ on post-fs-data
mkdir /data/apex/backup 0700 root system mkdir /data/apex/backup 0700 root system
mkdir /data/apex/hashtree 0700 root system mkdir /data/apex/hashtree 0700 root system
mkdir /data/apex/sessions 0700 root system mkdir /data/apex/sessions 0700 root system
mkdir /data/app-staging 0750 system system encryption=DeleteIfNecessary mkdir /data/app-staging 0751 system system encryption=DeleteIfNecessary
start apexd start apexd
# Avoid predictable entropy pool. Carry over entropy from previous boot. # Avoid predictable entropy pool. Carry over entropy from previous boot.