sm6150-common: rootdir: Give proper permissions for /dev/diag

* This gives proper permission to /dev/diag node so that diag driver
  can load successfully

* Logs spam with error '-13' which basically translates to access denied/invalid permission.

* Fix this by giving system read and write access.

Change-Id: I743de1ca77c5ddedd6905117e4d35cdcfb1541ab
Signed-off-by: Michael W <baddaemon87@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
This commit is contained in:
Michael W
2025-01-08 10:02:24 +00:00
committed by therealmharc
parent 0b1d17e82d
commit 75dbb50f17

View File

@@ -45,6 +45,9 @@ on init
write /sys/module/qpnp_rtc/parameters/poweron_alarm 1 write /sys/module/qpnp_rtc/parameters/poweron_alarm 1
# Change permissions for /dev/diag
chmod 0666 /dev/diag
on fs on fs
mount_all --early mount_all --early