mirror of
https://github.com/Lekensteyn/ltunify.git
synced 2025-12-10 02:15:34 +00:00
udev: use uaccess and udev-acl
This commit is contained in:
@@ -5,8 +5,14 @@
|
|||||||
# skip actual unified devices, only consider the receiver
|
# skip actual unified devices, only consider the receiver
|
||||||
DRIVERS=="logitech-djdevice", GOTO="not_unify_recv"
|
DRIVERS=="logitech-djdevice", GOTO="not_unify_recv"
|
||||||
|
|
||||||
# Only allow members of the "plugdev" group to access the receiver
|
# Allow any seated user to access the receiver.
|
||||||
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c52b", MODE="0660", GROUP="plugdev"
|
# uaccess: modern ACL-enabled udev
|
||||||
|
# udev-acl: for Ubuntu 12.10 and older
|
||||||
|
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c52b", TAG+="uaccess", TAG+="udev-acl"
|
||||||
|
|
||||||
|
# Grant members of the "plugdev" group access to receiver (useful for SSH users)
|
||||||
|
#SUBSYSTEM=="hidraw", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c52b", MODE="0660", GROUP="plugdev"
|
||||||
|
|
||||||
# Alternative: Allow every user on the system to access the receiver
|
# Alternative: Allow every user on the system to access the receiver
|
||||||
#SUBSYSTEM=="hidraw", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c52b", MODE="0666"
|
#SUBSYSTEM=="hidraw", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c52b", MODE="0666"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user