summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2014-07-09 19:55:59 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-07-08 18:09:01 +0000
commitc87237f5af41905a21a348a164a1ef3c31ace6c6 (patch)
tree8b86ce62c6d24ab0f061b86446bf24c243f52d49
parent6e141aea189769a428a7da6c2206df6d0ed2c69d (diff)
parente1695914d55d9ced3645fc532191970c9450e9e9 (diff)
downloadcore-c87237f5af41905a21a348a164a1ef3c31ace6c6.tar.gz
core-c87237f5af41905a21a348a164a1ef3c31ace6c6.tar.bz2
core-c87237f5af41905a21a348a164a1ef3c31ace6c6.zip
Merge "restorecon_recursive /cache"
-rw-r--r--rootdir/init.rc4
1 files changed, 1 insertions, 3 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index a983f292d..e2bc5b352 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -189,13 +189,11 @@ on post-fs
chown system cache /cache
chmod 0770 /cache
# We restorecon /cache in case the cache partition has been reset.
- restorecon /cache
+ restorecon_recursive /cache
# This may have been created by the recovery system with odd permissions
chown system cache /cache/recovery
chmod 0770 /cache/recovery
- # This may have been created by the recovery system with the wrong context.
- restorecon /cache/recovery
#change permissions on vmallocinfo so we can grab it from bugreports
chown root log /proc/vmallocinfo