From 542594f72570208f6722086942d7e61c5b5abb4a Mon Sep 17 00:00:00 2001 From: Vishalcj17 Date: Tue, 18 Jan 2022 14:55:47 +0300 Subject: [PATCH] sm6375-common: ueventd: Change permissions for /dev/diag [1] - Add override * Logs spam with error '-13' which basically translates to access denied/invalid permission. * Fix this by giving system read and write access. Before in log: Diag_Lib: Diag_LSM_Init: Failed to open handle to diag driver, error = 13 Change-Id: Ic06b0de0a729052593fb3c703362c5c199f9fd0b Signed-off-by: chrisl7 Signed-off-by: CHRISL7 <70589286+CHRISL7@users.noreply.github.com> --- rootdir/etc/ueventd.qcom.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootdir/etc/ueventd.qcom.rc b/rootdir/etc/ueventd.qcom.rc index 7b00256..26738e4 100644 --- a/rootdir/etc/ueventd.qcom.rc +++ b/rootdir/etc/ueventd.qcom.rc @@ -31,7 +31,7 @@ firmware_directories /vendor/firmware_mnt/image/ # the DIAG device node is not world writable/readable. -/dev/diag 0660 system oem_2901 +/dev/diag 0666 system oem_2901 /dev/mhi_*_pipe_4 0660 system system /dev/genlock 0666 system system