diff options
| author | Doug Zongker <dougz@android.com> | 2012-05-03 14:16:54 -0700 |
|---|---|---|
| committer | Doug Zongker <dougz@android.com> | 2012-05-03 14:16:54 -0700 |
| commit | 08c370cc50e4bdae5a59f4ddfd1e3874bb36579d (patch) | |
| tree | 8f0553109fa783f909f7eb7a8085acdfcd6b2211 | |
| parent | 982fd17ac179787ca5f7a7ece03234629285850f (diff) | |
| download | system_core-08c370cc50e4bdae5a59f4ddfd1e3874bb36579d.zip system_core-08c370cc50e4bdae5a59f4ddfd1e3874bb36579d.tar.gz system_core-08c370cc50e4bdae5a59f4ddfd1e3874bb36579d.tar.bz2 | |
change /fstab.* perms back to 0644, to unbreak incremental OTAs
Change-Id: I21a991148fd1de604ecf87abad0b49970d2abe84
| -rw-r--r-- | include/private/android_filesystem_config.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/private/android_filesystem_config.h b/include/private/android_filesystem_config.h index 68928eb..5b556d6 100644 --- a/include/private/android_filesystem_config.h +++ b/include/private/android_filesystem_config.h @@ -138,7 +138,7 @@ static const struct android_id_info android_ids[] = { #define android_id_count \ (sizeof(android_ids) / sizeof(android_ids[0])) - + struct fs_path_config { unsigned mode; unsigned uid; @@ -225,7 +225,7 @@ static struct fs_path_config android_files[] = { { 00750, AID_ROOT, AID_SHELL, "init*" }, { 00750, AID_ROOT, AID_SHELL, "charger*" }, { 00750, AID_ROOT, AID_SHELL, "sbin/fs_mgr" }, - { 00640, AID_ROOT, AID_SHELL, "fstab.*" }, + { 00644, AID_ROOT, AID_SHELL, "fstab.*" }, { 00644, AID_ROOT, AID_ROOT, 0 }, }; @@ -234,7 +234,7 @@ static inline void fs_config(const char *path, int dir, { struct fs_path_config *pc; int plen; - + pc = dir ? android_dirs : android_files; plen = strlen(path); for(; pc->prefix; pc++){ @@ -254,9 +254,9 @@ static inline void fs_config(const char *path, int dir, *uid = pc->uid; *gid = pc->gid; *mode = (*mode & (~07777)) | pc->mode; - + #if 0 - fprintf(stderr,"< '%s' '%s' %d %d %o >\n", + fprintf(stderr,"< '%s' '%s' %d %d %o >\n", path, pc->prefix ? pc->prefix : "", *uid, *gid, *mode); #endif } |
