From 8396b199a9dd51692f89ac55e688bdeae9831458 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Sat, 5 Mar 2016 13:44:45 -0500 Subject: udev: Only apply device permissions on add Bug: https://bugs.gentoo.org/571986 --- udev/40-gentoo.rules | 5 +++-- 1 file 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" -- cgit v1.2.3-65-gdbad