summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-05-05 11:16:06 +0200
committerHarald Welte <laforge@gnumonks.org>2010-05-05 11:16:06 +0200
commit923c5f9db6e87347184e955367abec44afa373aa (patch)
tree2c87678ea5931f63e3899b49e0e056f4ec7a929d
parent5f5de66d1049ef6cee8e4d0166b147275b19c286 (diff)
udev: use 'plugdev' group rather than 'users' group
In more recent GNU/Linux distributions, plugdev is the group used for USB hot-plugged devices, and there is no real 'users' group shared by all users anymore.
-rw-r--r--etc/udev/librfid.rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/udev/librfid.rules b/etc/udev/librfid.rules
index 52942c4..73eac8d 100644
--- a/etc/udev/librfid.rules
+++ b/etc/udev/librfid.rules
@@ -8,9 +8,9 @@ ACTION!="add", GOTO="librfid_rules_end"
SUBSYSTEM!="usb_device", GOTO="librfid_rules_end"
# Omnikey 5121
-SYSFS{idVendor}=="076b", SYSFS{idProduct}=="5121", MODE="664", GROUP="users"
+SYSFS{idVendor}=="076b", SYSFS{idProduct}=="5121", MODE="664", GROUP="plugdev"
# OpenPCD
-SYSFS{idVendor}=="16c0", SYSFS{idProduct}=="076b", MODE="664", GROUP="users"
+SYSFS{idVendor}=="16c0", SYSFS{idProduct}=="076b", MODE="664", GROUP="plugdev"
LABEL="librfid_rules_end"
personal git repositories of Harald Welte. Your mileage may vary