Change /dalvik-cache to be owned by root.
Bug: 16875245
(cherry picked from commit 3878ebd724)
Change-Id: I29a70215a2207bc4e0db02ab751d32a68edf4b66
This commit is contained in:
parent
f9e4d72782
commit
c692410e16
2 changed files with 2 additions and 2 deletions
|
|
@ -196,7 +196,7 @@ static const struct fs_path_config android_dirs[] = {
|
||||||
{ 00770, AID_SYSTEM, AID_CACHE, 0, "cache" },
|
{ 00770, AID_SYSTEM, AID_CACHE, 0, "cache" },
|
||||||
{ 00771, AID_SYSTEM, AID_SYSTEM, 0, "data/app" },
|
{ 00771, AID_SYSTEM, AID_SYSTEM, 0, "data/app" },
|
||||||
{ 00771, AID_SYSTEM, AID_SYSTEM, 0, "data/app-private" },
|
{ 00771, AID_SYSTEM, AID_SYSTEM, 0, "data/app-private" },
|
||||||
{ 00771, AID_SYSTEM, AID_SYSTEM, 0, "data/dalvik-cache" },
|
{ 00771, AID_ROOT, AID_ROOT, 0, "data/dalvik-cache" },
|
||||||
{ 00771, AID_SYSTEM, AID_SYSTEM, 0, "data/data" },
|
{ 00771, AID_SYSTEM, AID_SYSTEM, 0, "data/data" },
|
||||||
{ 00771, AID_SHELL, AID_SHELL, 0, "data/local/tmp" },
|
{ 00771, AID_SHELL, AID_SHELL, 0, "data/local/tmp" },
|
||||||
{ 00771, AID_SHELL, AID_SHELL, 0, "data/local" },
|
{ 00771, AID_SHELL, AID_SHELL, 0, "data/local" },
|
||||||
|
|
|
||||||
|
|
@ -290,7 +290,7 @@ on post-fs-data
|
||||||
mkdir /data/property 0700 root root
|
mkdir /data/property 0700 root root
|
||||||
|
|
||||||
# create dalvik-cache, so as to enforce our permissions
|
# create dalvik-cache, so as to enforce our permissions
|
||||||
mkdir /data/dalvik-cache 0771 system system
|
mkdir /data/dalvik-cache 0771 root root
|
||||||
mkdir /data/dalvik-cache/profiles 0711 system system
|
mkdir /data/dalvik-cache/profiles 0711 system system
|
||||||
|
|
||||||
# create resource-cache and double-check the perms
|
# create resource-cache and double-check the perms
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue