Merge "Give x permission on apex data directories." am: d6289bdf13

Change-Id: Id3a451ca9509789a9e563fc2819e5de2faddcdd1
This commit is contained in:
Automerger Merge Worker 2020-01-17 17:19:18 +00:00
commit f29bb3a0ce
2 changed files with 2 additions and 2 deletions

View file

@ -1276,7 +1276,7 @@ static Result<void> create_apex_data_dirs() {
if (strchr(name, '@') != nullptr) continue;
auto path = "/data/misc/apexdata/" + std::string(name);
auto options = MkdirOptions{path, 0770, AID_ROOT, AID_SYSTEM, FscryptAction::kNone, "ref"};
auto options = MkdirOptions{path, 0771, AID_ROOT, AID_SYSTEM, FscryptAction::kNone, "ref"};
make_dir_with_options(options);
}
return {};

View file

@ -593,7 +593,7 @@ on post-fs-data
mkdir /data/misc/profman 0770 system shell
mkdir /data/misc/gcov 0770 root root
mkdir /data/misc/installd 0700 root root
mkdir /data/misc/apexdata 0700 root root
mkdir /data/misc/apexdata 0711 root root
mkdir /data/misc/apexrollback 0700 root root
mkdir /data/preloads 0775 system system encryption=None