summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules/50-udev-default.rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/50-udev-default.rules b/rules/50-udev-default.rules
index fc52fd17f5..ecd79debfb 100644
--- a/rules/50-udev-default.rules
+++ b/rules/50-udev-default.rules
@@ -12,6 +12,7 @@ KERNEL=="tty[A-Z]*[0-9]|pppox[0-9]*|ircomm[0-9]*|noz[0-9]*|rfcomm[0-9]*", GROUP=
SUBSYSTEM=="virtio-ports", KERNEL=="vport*", ATTR{name}=="?*", SYMLINK+="virtio-ports/$attr{name}"
# mem
+SUBSYSTEM=="mem", KERNEL=="null|zero|full|random|urandom", MODE="0666"
SUBSYSTEM=="mem", KERNEL=="mem|kmem|port", GROUP="kmem", MODE="0640"
# input