diff options
Diffstat (limited to 'rules/gentoo/65-permissions.rules')
-rw-r--r-- | rules/gentoo/65-permissions.rules | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/rules/gentoo/65-permissions.rules b/rules/gentoo/65-permissions.rules new file mode 100644 index 0000000000..494f19e63f --- /dev/null +++ b/rules/gentoo/65-permissions.rules @@ -0,0 +1,26 @@ +# do not edit this file, it will be overwritten on update + +SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="usb", MODE="664" + +# cdrom devices +ENV{ID_CDROM}=="?*", GROUP="cdrom", MODE="660" +KERNEL=="pktcdvd|pktcdvd[0-9]*", GROUP="cdrom", MODE="660" +# assign cdrom-permission also to associated generic device (for cd-burning ...) +SUBSYSTEMS=="scsi", KERNEL=="sg[0-9]*", ATTRS{type}=="[45]", GROUP="cdrom", MODE="660" + + +# tape devices +KERNEL=="st[0-9]*|nst[0-9]*|ht[0-9]*|nht[0-9]*|pt[0-9]*|npt[0-9]*", \ + GROUP="tape", MODE="660" +SUBSYSTEMS=="scsi", KERNEL=="sg[0-9]*", ATTRS{type}=="[18]", GROUP="tape", MODE="660" + +# dialout devices +KERNEL=="ippp*|isdn*|dcbri*|capi*", GROUP="uucp" +KERNEL=="pilot", GROUP="uucp" + +# sound devices (sound=alsa, snd=oss) +SUBSYSTEM=="sound|snd", GROUP="audio" + +# Sony Vaio Jogdial sonypi device +KERNEL=="sonypi", MODE="0666" + |