From eeb8d70a6b38f736febaa4c3b03e39b4c1193a6c Mon Sep 17 00:00:00 2001 From: Richard Yao Date: Mon, 14 Jan 2013 12:47:07 -0500 Subject: Correct /dev/null permissions on older kernels Older kernels rely on udev to set proper permissions on /dev/null. Commit 378f2e074e38490103f999173bf717a5394170f8 by Kay Sievers removed the rule that set these permissions, which caused a regression. We reintroduce that rule to restore compatibility. Reported-by: Stephen Klimaszewski Signed-off-by: Richard Yao Signed-off-by: Ian Stakenvicius --- rules/50-udev-default.rules | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3-54-g00ecf