mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 20:07:25 +00:00
52ad867408
The patch was creating the file /run/.adb.root with read-write permission for "other", so any user was able to write to it. Make the file owned by user adb, and remove permissions for group and other. Before: ``` root@raspberrypi4-64:~# ls -l /run/.adb.root -rw-rw-rw- 1 root root 8 Mar 13 15:42 /run/.adb.root ``` After: ``` root@raspberrypi4-64:~# ls -l /run/adb.root -rw------- 1 adb adb 8 Mar 13 15:35 /run/adb.root ``` Also rename the file from .adbd.root to adbd.root, since hidden files are not the convention in /run AI-Generated: Uses GitHub Copilot (Claude Sonnet 4.6) Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>