OSDN Git Service

Change ownership of apex data directories to root.
authorOli Lan <olilan@google.com>
Fri, 3 Jan 2020 18:21:08 +0000 (18:21 +0000)
committerOli Lan <olilan@google.com>
Fri, 17 Jan 2020 11:11:06 +0000 (11:11 +0000)
commit9cfc404c2d038f96e8e92e3826df11cf1492e626
tree43fd7a4f3ea51ae8be8473a7e168ff7e6bca8ff5
parent6492a6abf64b54b73833907306203871c66b6932
Change ownership of apex data directories to root.

The apex data directories must be accessed by apexd in order for it to
perform snapshot and restore as part of the rollback process. As apexd
runs as root, this CL changes the apex data directories under misc_[ce|de]
to be owned by root.

Bug: 141148175
Test: Build and flash; check permissions are set correctly.
Change-Id: Icf2059cc9448364f834eef7892914a99883746a1
vold_prepare_subdirs.cpp