Fix /data_mirror permission

Test: Able to boot without error
Bug: 150671726

Merged-In: If366d284f4f01ebfa660e85bad57861c120ada7e
Change-Id: I9d85c00d191dcaa46c0182b5a15cd89dcdb9ea5e
(cherry picked from commit 1a5ae50943)
This commit is contained in:
Automerger Merge Worker 2020-03-05 10:18:24 +00:00 committed by Ricky Wai
parent 694529d3ff
commit 70b6a95619
1 changed files with 1 additions and 3 deletions

View File

@ -701,9 +701,7 @@ on post-fs-data
# A tmpfs directory, which will contain all apps CE DE data directory that
# bind mount from the original source.
chown root root /data_mirror
chmod 0700 /data_mirror
mount tmpfs tmpfs /data_mirror mode=0700,uid=0,gid=1000 nodev noexec nosuid
mount tmpfs tmpfs /data_mirror nodev noexec nosuid mode=0700,uid=0,gid=1000
restorecon /data_mirror
mkdir /data_mirror/data_ce 0700 root root
mkdir /data_mirror/data_de 0700 root root