Skip to content

Commit

Permalink
udev: Use the systemd tag "uaccess" instead of 0666 permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
keirf committed Apr 4, 2024
1 parent efe9c1a commit 0856b6d
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions host_tools/50-boobip.rules
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 0856b6d

Please sign in to comment.