From 0856b6d3713c41495191541ca729d2d5ed965383 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 4 Apr 2024 09:12:40 +0100 Subject: [PATCH] udev: Use the systemd tag "uaccess" instead of 0666 permissions --- host_tools/50-boobip.rules | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/host_tools/50-boobip.rules b/host_tools/50-boobip.rules index 5019fc8..c538360 100644 --- a/host_tools/50-boobip.rules +++ b/host_tools/50-boobip.rules @@ -10,14 +10,9 @@ ATTRS{idVendor}=="0483", ATTRS{idProduct}=="5740", \ ATTRS{idVendor}=="0483", ATTRS{idProduct}=="5740", \ ENV{MTP_NO_PROBE}="1" ATTRS{idVendor}=="0483", ATTRS{idProduct}=="5740", \ - SUBSYSTEMS=="usb", MODE:="0666" + SUBSYSTEMS=="usb", TAG+="uaccess" ATTRS{idVendor}=="0483", ATTRS{idProduct}=="5740", \ - KERNEL=="ttyACM*", MODE:="0666" + KERNEL=="ttyACM*", TAG+="uaccess" ACTION=="add", \ ATTRS{idVendor}=="0483", ATTRS{idProduct}=="5740", \ SYMLINK+="boobip" -# -# If you share your linux system with other users, or just don't like the -# idea of write permission for everybody, you can replace MODE:="0666" with -# OWNER:="yourusername" to create the device owned by you, or with -# GROUP:="somegroupname" and mange access using standard unix groups.