jahnf / Projecteur

Linux Desktop Application for the Logitech Spotlight device (and similar devices) - Digital Laser Pointer
MIT License
379 stars 33 forks source link

udev-rules: use the uaccess method instead of custom group to setup perms #41

Closed dev-zero closed 4 years ago

dev-zero commented 4 years ago

modern systems use the uaccess tag to let udev/systemd add extended ACLs for the local user which makes the custom group superfluous

dev-zero commented 4 years ago

see Debian's info about it: https://wiki.debian.org/USB/GadgetSetup ... and since they have already have a Lintian Tag for it I guess it's time to switch ;-)

jahnf commented 4 years ago

Thank you, didn't know about that udev feature. I'll have a look on the weekend. Is that supported by all current distributions? (Debian, fedora, opensuse..)

dev-zero commented 4 years ago

I've verified this on an up-to-date Arch Linux and openSUSE Leap 15.x. Fedora should have it as well since they adapted systemd quiet fast. systemd's udev has the uaccess rules since 2012, but I'm not sure about distribution adoption.