From bb61a6e79d7e38d316aa367fb1a2e3b7addf5c7c Mon Sep 17 00:00:00 2001 From: Akos Denke Date: Thu, 10 Oct 2019 08:27:11 +0200 Subject: [PATCH] Add correct permissions to benchmarktest directories Change-Id: I487d59317635b54f623002baf3c00aa47910a33a --- libcutils/fs_config.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libcutils/fs_config.cpp b/libcutils/fs_config.cpp index fd9a3ebd8..c4e4f8574 100644 --- a/libcutils/fs_config.cpp +++ b/libcutils/fs_config.cpp @@ -74,6 +74,8 @@ static const struct fs_path_config android_dirs[] = { { 00775, AID_MEDIA_RW, AID_MEDIA_RW, 0, "data/media" }, { 00750, AID_ROOT, AID_SHELL, 0, "data/nativetest" }, { 00750, AID_ROOT, AID_SHELL, 0, "data/nativetest64" }, + { 00750, AID_ROOT, AID_SHELL, 0, "data/benchmarktest" }, + { 00750, AID_ROOT, AID_SHELL, 0, "data/benchmarktest64" }, { 00775, AID_ROOT, AID_ROOT, 0, "data/preloads" }, { 00771, AID_SYSTEM, AID_SYSTEM, 0, "data" }, { 00755, AID_ROOT, AID_SYSTEM, 0, "mnt" }, @@ -145,6 +147,8 @@ static const struct fs_path_config android_files[] = { { 00640, AID_ROOT, AID_SHELL, 0, "data/nativetest64/tests.txt" }, { 00750, AID_ROOT, AID_SHELL, 0, "data/nativetest/*" }, { 00750, AID_ROOT, AID_SHELL, 0, "data/nativetest64/*" }, + { 00750, AID_ROOT, AID_SHELL, 0, "data/benchmarktest/*" }, + { 00750, AID_ROOT, AID_SHELL, 0, "data/benchmarktest64/*" }, { 00600, AID_ROOT, AID_ROOT, 0, "default.prop" }, // legacy { 00600, AID_ROOT, AID_ROOT, 0, "system/etc/prop.default" }, { 00600, AID_ROOT, AID_ROOT, 0, "odm/build.prop" }, // legacy; only for P release