diff options
author | Mike Ma <yanmin@google.com> | 2020-01-17 18:01:03 -0800 |
---|---|---|
committer | Mike Ma <yanmin@google.com> | 2020-01-21 18:39:19 -0800 |
commit | a7fb0952079e790b7b949e3982d186d10f105ff8 (patch) | |
tree | f7c540549de8d4e054140311478a44f5eff79601 /trusty/coverage/coverage_test.cpp | |
parent | d6289bdf13bf606504169876305c4bbe496f8de8 (diff) |
Relax permissions on /data/misc/logd
Incidentd needs to access /data/misc/logd to get persisted logs for
debugging purposes. Relax permissions on /data/misc/logd to allow
group (log) to access the dir and read its files. Effectively change
to:
drwxr-x--- logd log /data/misc/logd
-rw-r----- logd log /data/misc/logd/logcat*
Since this dir stores the past output of logcat, anyone that can run
logcat can be granted access to this dir. Access to this dir is further
guarded by SELinux. So it is safe.
Bug: 147924172
Test: Build, flash, reboot. Verify that the files have the right
permissions.
Change-Id: I4d2aa9d5883d1ef14411b2b3902f0ca7c641dd7e
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions