OpenOCD commit a5cff3acd377 adjusted their udev rules, motivated by
https://lists.debian.org/debian-devel-announce/2016/11/msg00008.html
which recommends switching from

  MODE="664", GROUP="plugdev"

to

  MODE="660", GROUP="plugdev", TAG+="uaccess"

The commit log (partially) reads:

| Modern desktop systems with systemd recommend this way to give users
| access to devices. We change permissions to sane value along the way.

The change allows access to the devices by users which have
physical access to the machine, while it prevents remote users
from accessing the device.  The Debian note reads:

| Adding the uaccess tag to udev rules
| ------------------------------------
|
|   Packages containing udev rules that use GROUP="plugdev" should also add
|   TAG+="uaccess" so that all users that are physically present can access
|   the relevant devices, instead of just users in the plugdev group
|   (GROUP="plugdev"). Some packages use MODE="666" to allow all users
|   (including remote users) to access devices. For almost all devices it is
|   probably more appropriate to switch from MODE="666" to GROUP="plugdev",
|   MODE="660", TAG+="uaccess" so that remote users cannot access local
|   devices. Check the wiki page for USB gadgets[13] for more hints.
|   There is a lintian warning in progress[14] for these issues.
|
|   -- Paul Wise & Petter Reinholdtsen
|
|   [13] https://wiki.debian.org/USB/GadgetSetup
|   [14] https://bugs.debian.org/841670


This is a web document with the actual commit that I could find,
for those who don't have a local OpenOCD repo at hand:
https://sourceforge.net/p/openocd/mailman/message/35569241/
(sorry for the evil formatting).


Is a similar change desirable for the libsigrok component?


virtually yours
Gerhard Sittig
-- 
     If you don't understand or are scared by any of the above
             ask your parents or an adult to help you.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to