diff options
author | Mike Gilbert <floppym@gentoo.org> | 2016-03-05 13:44:45 -0500 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2016-03-05 13:44:45 -0500 |
commit | 8396b199a9dd51692f89ac55e688bdeae9831458 (patch) | |
tree | 2060e442db3a518637ed10add9459e301a52e025 | |
parent | gentoo-local-generator: Exit with status 0 if /etc/local.d is missing (diff) | |
download | gentoo-systemd-integration-8396b199a9dd51692f89ac55e688bdeae9831458.tar.gz gentoo-systemd-integration-8396b199a9dd51692f89ac55e688bdeae9831458.tar.bz2 gentoo-systemd-integration-8396b199a9dd51692f89ac55e688bdeae9831458.zip |
udev: Only apply device permissions on add
Bug: https://bugs.gentoo.org/571986
-rw-r--r-- | udev/40-gentoo.rules | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/udev/40-gentoo.rules b/udev/40-gentoo.rules index 5d77db0..6b96bd0 100644 --- a/udev/40-gentoo.rules +++ b/udev/40-gentoo.rules @@ -1,2 +1,3 @@ -# Gentoo specific usb group -SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="usb" +# Gentoo specific groups +ACTION=="add", SUBSYSTEM=="block", KERNEL=="fd[0-9]", GROUP="floppy" +ACTION=="add", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="usb" |