diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2011-03-07 16:10:50 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2011-03-07 16:10:50 +0100 |
commit | 71e65e8683b00b72a6bce33f0e2a3f6d1ac9f7b8 (patch) | |
tree | 27f78086f1b6165b0bd693fd5d36bf212852f53a /extras/udev-acl/70-acl.rules | |
parent | 37d3d6abdec495769d4c92f3ba1b4c1b1936a831 (diff) |
udev-acl: move sg rule to optical drive rule
Diffstat (limited to 'extras/udev-acl/70-acl.rules')
-rw-r--r-- | extras/udev-acl/70-acl.rules | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/extras/udev-acl/70-acl.rules b/extras/udev-acl/70-acl.rules index b0015b61d8..dd5a7ab135 100644 --- a/extras/udev-acl/70-acl.rules +++ b/extras/udev-acl/70-acl.rules @@ -21,6 +21,7 @@ ENV{ID_HPLIP}=="1", TAG+="udev-acl" # optical drives SUBSYSTEM=="block", ENV{ID_CDROM}=="1", TAG+="udev-acl" +SUBSYSTEM=="scsi_generic", SUBSYSTEMS=="scsi", ATTRS{type}=="4|5", TAG+="udev-acl" # sound devices SUBSYSTEM=="sound", TAG+="udev-acl" @@ -63,9 +64,6 @@ ENV{DDC_DEVICE}=="*?", TAG+="udev-acl" # media player raw devices (for user-mode drivers, Android SDK, etc.) SUBSYSTEM=="usb", ENV{ID_MEDIA_PLAYER}=="?*", TAG+="udev-acl" -# /dev/sgX nodes for CD-ROM drives -SUBSYSTEM=="scsi_generic", SUBSYSTEMS=="scsi", ATTRS{type}=="4|5", TAG+="udev-acl" - # apply ACL for all locally logged in users LABEL="acl_apply", TAG=="udev-acl", TEST=="/var/run/ConsoleKit/database", \ RUN+="udev-acl --action=$env{ACTION} --device=$env{DEVNAME}" |