Gentoo Archives: gentoo-user

From: Rafael Bugajewski <rb@××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] odd /dev/null beharvior
Date: Sat, 18 Feb 2006 17:35:35
Message-Id: 200602181829.15301.rb@bugajewski.de
In Reply to: [gentoo-user] odd /dev/null beharvior by James
1 18. Februar 2006 17:46, James:
2
3 > /dev/null is acting weird. The permissions have recently changes
4 > on a system I sync regularly. I can change the permissions back
5 > to 666, but every time the system reboots, dev null resets to:
6 > crw-rw----  1 root 1, 3 Jan 20 10:05 /dev/null
7 >
8 > How to I make permanent changes so that /dev/null is 666 again?
9 >
10 > Surely this is not part of some security issue that I missed?
11
12 Hi James,
13
14 I hope the following two lines will help you:
15
16 rafael@hoppsie / $ grep null /etc/udev/rules.d/50-udev.rules
17 KERNEL=="null", NAME="%k", MODE="0666"
18
19 I think it's rather a misconfiguration than a security issue.
20
21 Greets,
22
23 Rafael Bugajewski