1
0
Fork 0
mirror of git://slackware.nl/current.git synced 2025-02-01 19:57:45 +01:00
slackware-current/source/a/udev/config/rules.d/65-permissions.rules
Patrick J Volkerding b76270bf9e Slackware 13.1
Wed May 19 08:58:23 UTC 2010
Slackware 13.1 x86_64 stable is released!
Lots of thanks are due -- see the RELEASE_NOTES and the rest of the
ChangeLog for credits.  The ISOs are on their way to replication,
a 6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD.
We are taking pre-orders now at store.slackware.com, and offering
a discount if you sign up for a subscription.  Consider picking up
a copy to help support the project.  Thanks again to the Slackware
community for testing, contributing, and generally holding us to a
high level of quality.  :-)
Enjoy!
2018-05-31 22:43:05 +02:00

41 lines
1.3 KiB
Text

# Slackware permission rules
#
# These rules are here instead of 40-slackware.rules because
# many of them need to run after the block section in
# 50-udev.default.rules
#
# Remember, in any upgrade, this file will be overwritten.
# Put your custom rules somewhere else (90-local.rules is
# a good idea).
#
# all disks with group disk
KERNEL!="fd*", SUBSYSTEM=="block", GROUP="disk"
# put all removable devices in group "plugdev"
KERNEL=="sd*[!0-9]", ATTR{removable}=="1", GROUP="plugdev"
KERNEL=="sd*[0-9]", ATTRS{removable}=="1", GROUP="plugdev"
# Many hot-pluggable devices (ZIP, Jazz, LS-120, etc...)
# need to be in plugdev, too.
KERNEL=="diskonkey*", GROUP="plugdev"
KERNEL=="jaz*", GROUP="plugdev"
KERNEL=="pocketzip*", GROUP="plugdev"
KERNEL=="zip*", GROUP="plugdev"
KERNEL=="ls120", GROUP="plugdev"
KERNEL=="microdrive*", GROUP="plugdev"
# CD group and permissions
ENV{ID_CDROM}=="?*", GROUP="cdrom", MODE="0660"
KERNEL=="pktcdvd", GROUP="cdrom", MODE="0660"
KERNEL=="pktcdvd[0-9]*", GROUP="cdrom", MODE="0660"
# permissions for SCSI sg devices
SUBSYSTEMS=="scsi", KERNEL=="s[gt][0-9]*", ATTRS{type}=="5", \
GROUP="cdrom", MODE="0660"
# Make DRI video devices usable by anyone in group "video":
KERNEL=="card[0-9]*",GROUP:="video"
# Make the real time clock readable by all, and writable by root:
KERNEL=="rtc|rtc0", MODE="0644"