1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-06 08:26:52 +03:00
systemd/rules/gentoo/65-permissions.rules
Kay Sievers 282988c4f8 move default rules from /etc/udev/rules.d/ to /lib/udev/rules.d/
None of these rules is supposed to be changed by users, so move
them out of /etc. Custom rules, and automatically generated rules
stay in /etc. All rules are still processed in lexical order,
regardless which directory they live in.
2008-07-18 15:56:03 +02:00

27 lines
860 B
Plaintext

# 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"