Update permissions to the superuser binary
Issue: FP2P-458
Change-Id: Ia382c74854cfbe625653b8b6b016b37f93132658
diff --git a/libcutils/fs_config.cpp b/libcutils/fs_config.cpp
index 5b79b1d..d0d0649 100644
--- a/libcutils/fs_config.cpp
+++ b/libcutils/fs_config.cpp
@@ -170,10 +170,11 @@
{ 00444, AID_ROOT, AID_ROOT, 0, ven_conf_dir + 1 },
{ 00444, AID_ROOT, AID_ROOT, 0, ven_conf_file + 1 },
- // the following two files are INTENTIONALLY set-uid, but they
- // are NOT included on user builds.
+ // the following file is INTENTIONALLY set-uid, but it
+ // is NOT included on user builds.
{ 06755, AID_ROOT, AID_ROOT, 0, "system/xbin/procmem" },
- { 04750, AID_ROOT, AID_SHELL, 0, "system/xbin/su" },
+ // lineage's daemonized su doesn't need the setuid bit
+ { 00755, AID_ROOT, AID_SHELL, 0, "system/xbin/su" },
// the following files have enhanced capabilities and ARE included
// in user builds.