1 |
Neil Bothwick <neil <at> digimed.co.uk> writes: |
2 |
|
3 |
> > # egrep null 50-udev.rules |
4 |
> > KERNEL=="null", NAME="%k", MODE="0666" |
5 |
|
6 |
> > Why is /dev/null getting repeatedly set to more restrictive |
7 |
> > permission than 666? |
8 |
|
9 |
> Is another rule overriding this one? Try |
10 |
> grep null /etc/udev/rules.d/*.rules |
11 |
|
12 |
<shows> |
13 |
/etc/udev/rules.d/50-udev.rules:KERNEL=="null", NAME="%k", MODE="0666" |
14 |
|
15 |
|
16 |
And the other edits I make seem to be still in place: |
17 |
|
18 |
KERNEL=="console", NAME="%k", GROUP="tty", MODE="0666" |
19 |
|
20 |
which was the line I edited in '50-udev.rules'. |
21 |
|
22 |
etc/group <shows> |
23 |
tty::5:allen,james,mythtv,allie |
24 |
|
25 |
Still I have to ssh in and issue: |
26 |
chmod 666 /dev/null |
27 |
chown root:tty /dev/pty* |
28 |
chown root:tty /dev/tty* |
29 |
|
30 |
Before I make these changes, root:root owns the ptys/ttys and |
31 |
the /dev/null permissions are 600 (crw). |
32 |
|
33 |
Any other ideas as to what can be setting/corrupting these |
34 |
file permission/ownership? |
35 |
|
36 |
I can always use a custom script to patch this until a permanent |
37 |
fix is discovered. Any ideas what's the best place to do this? |
38 |
After bootup but before loging via the kdm session manager? |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
|
44 |
James |
45 |
|
46 |
|
47 |
|
48 |
-- |
49 |
gentoo-user@g.o mailing list |