From f71b231d5e97de594764b6037f4469ed6fcd81ee Mon Sep 17 00:00:00 2001 From: sudoBash418 <sudoBash418@gmail.com> Date: Tue, 17 Jan 2023 05:53:02 -0700 Subject: [PATCH] Fix permission issues with udev rule Fixes the udev rule on Arch Linux and potentially other distros. --- microbit/src/03-setup/linux.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/microbit/src/03-setup/linux.md b/microbit/src/03-setup/linux.md index 304ce2638..881732292 100644 --- a/microbit/src/03-setup/linux.md +++ b/microbit/src/03-setup/linux.md @@ -60,12 +60,12 @@ These rules let you use USB devices like the micro:bit without root privilege, i Create this file in `/etc/udev/rules.d` with the content shown below. ``` console -$ cat /etc/udev/rules.d/99-microbit.rules +$ cat /etc/udev/rules.d/70-microbit.rules ``` ``` text # CMSIS-DAP for microbit -SUBSYSTEM=="usb", ATTR{idVendor}=="0d28", ATTR{idProduct}=="0204", MODE:="666" +SUBSYSTEMS=="usb", ATTRS{idVendor}=="0d28", ATTRS{idProduct}=="0204", MODE="0660", TAG+="uaccess" ``` Then reload the udev rules with: