Package: mspdebug
Version: 0.22-2
Tags: patch

The current udev rules set up devices with access to the members of the
plugdev group.  This do not work on larger installations with a group
database spanning several machines, where users can not be granted such
membership on every machine.  A better mechanism is to grant access to
users logged into the console, which is controlled using the uaccess
tag.  Please apply this patch to switch how access is granted:

diff --git a/debian/mspdebug.udev b/debian/mspdebug.udev
index 5895df5..6fa7171 100644
--- a/debian/mspdebug.udev
+++ b/debian/mspdebug.udev
@@ -1,2 +1,2 @@
 # TI LaunchPad board (MSP430 external programmer)
-ATTRS{idVendor}=="0451", ATTRS{idProduct}=="f432", MODE="0660", GROUP="plugdev"
+ATTRS{idVendor}=="0451", ATTRS{idProduct}=="f432", TAG+="uaccess"

-- 
Happy hacking
Petter Reinholdtsen

Reply via email to