1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-05 23:51:28 +03:00
systemd/rules/gentoo/65-permissions.rules

27 lines
881 B
Plaintext
Raw Normal View History

2007-09-24 04:59:22 +04:00
# 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
2008-08-11 18:55:38 +04:00
KERNEL=="ippp*|isdn*|dcbri*|capi*|rfcomm*|ttyACM[0-9]*", GROUP="uucp"
2007-09-24 04:59:22 +04:00
KERNEL=="pilot", GROUP="uucp"
2007-09-25 19:52:42 +04:00
# sound devices (sound=alsa, snd=oss)
SUBSYSTEM=="sound|snd", GROUP="audio"
2007-11-10 18:17:47 +03:00
# Sony Vaio Jogdial sonypi device
KERNEL=="sonypi", MODE="0666"