Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit adfe8c4

Browse files
nickkralGerrit Code Review
authored andcommitted
Merge "Set bin directories to 0751"
2 parents a4e4e39 + f4fc922 commit adfe8c4

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

libcutils/fs_config.cpp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ static inline uint64_t get8LE(const uint8_t* src) {
6060
// way up to the root.
6161

6262
static const struct fs_path_config android_dirs[] = {
63-
// clang-format off
63+
// clang-format off
6464
{ 00770, AID_SYSTEM, AID_CACHE, 0, "cache" },
6565
{ 00555, AID_ROOT, AID_ROOT, 0, "config" },
6666
{ 00771, AID_SYSTEM, AID_SYSTEM, 0, "data/app" },
@@ -80,17 +80,18 @@ static const struct fs_path_config android_dirs[] = {
8080
{ 00775, AID_ROOT, AID_ROOT, 0, "data/preloads" },
8181
{ 00771, AID_SYSTEM, AID_SYSTEM, 0, "data" },
8282
{ 00755, AID_ROOT, AID_SYSTEM, 0, "mnt" },
83-
{ 00755, AID_ROOT, AID_SHELL, 0, "product/bin" },
83+
{ 00751, AID_ROOT, AID_SHELL, 0, "product/bin" },
8484
{ 00750, AID_ROOT, AID_SHELL, 0, "sbin" },
8585
{ 00777, AID_ROOT, AID_ROOT, 0, "sdcard" },
8686
{ 00751, AID_ROOT, AID_SDCARD_R, 0, "storage" },
87-
{ 00755, AID_ROOT, AID_SHELL, 0, "system/bin" },
87+
{ 00751, AID_ROOT, AID_SHELL, 0, "system/bin" },
8888
{ 00755, AID_ROOT, AID_ROOT, 0, "system/etc/ppp" },
8989
{ 00755, AID_ROOT, AID_SHELL, 0, "system/vendor" },
90-
{ 00755, AID_ROOT, AID_SHELL, 0, "system/xbin" },
90+
{ 00751, AID_ROOT, AID_SHELL, 0, "system/xbin" },
91+
{ 00751, AID_ROOT, AID_SHELL, 0, "vendor/bin" },
9192
{ 00755, AID_ROOT, AID_SHELL, 0, "vendor" },
9293
{ 00755, AID_ROOT, AID_ROOT, 0, 0 },
93-
// clang-format on
94+
// clang-format on
9495
};
9596
#ifndef __ANDROID_VNDK__
9697
auto __for_testing_only__android_dirs = android_dirs;

0 commit comments

Comments
 (0)