Merge "Give x permission on apex data directories." am: d6289bdf13
Change-Id: Id3a451ca9509789a9e563fc2819e5de2faddcdd1
This commit is contained in:
commit
f29bb3a0ce
2 changed files with 2 additions and 2 deletions
|
@ -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 {};
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue