diff options
author | Richard Yao <ryao@gentoo.org> | 2013-01-14 12:47:07 -0500 |
---|---|---|
committer | Richard Yao <ryao@cs.stonybrook.edu> | 2013-01-14 12:51:44 -0500 |
commit | eeb8d70a6b38f736febaa4c3b03e39b4c1193a6c (patch) | |
tree | de51caa9fbf11165aa41836781efe7cc005f4b7c /rules | |
parent | f6b4945845bfefba07d4deac984a53138d3ff38b (diff) |
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 <steev@gentoo.org>
Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
Diffstat (limited to 'rules')
-rw-r--r-- | rules/50-udev-default.rules | 1 |
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 |