1 |
Neil Bothwick <neil <at> digimed.co.uk> writes: |
2 |
|
3 |
|
4 |
> > chown root:tty /dev/pty* |
5 |
> > chown root:tty /dev/tty* |
6 |
> > chmod 666 /dev/null |
7 |
|
8 |
|
9 |
> It sounds like your udev rules are screwed. My defaults are |
10 |
|
11 |
KERNEL=="pty[pqrstuvwxyzabcdef][0123456789abcdef]",NAME="%k", |
12 |
GROUP="tty",OPTIONS="last_rule" |
13 |
KERNEL=="null",NAME="%k", MODE="0666" |
14 |
|
15 |
> Re-emerging udev should fix this, let etc-update/dispatch-conf replace |
16 |
> /etc/udev/rules.d/50-udev.rules. |
17 |
|
18 |
OK, I reverted (re emerged) udev-087-r1 |
19 |
|
20 |
Now my rules look like this: |
21 |
|
22 |
# egrep tty 50-udev.rules |
23 |
|
24 |
KERNEL=="pty[pqrstuvwxyzabcdef][0123456789abcdef]", NAME="%k", GROUP="tty", |
25 |
OPTIONS="last_rule" |
26 |
KERNEL=="tty[pqrstuvwxyzabcdef][0123456789abcdef]", NAME="%k", GROUP="tty", |
27 |
OPTIONS="last_rule" |
28 |
KERNEL=="vcs*", NAME="%k", GROUP="tty", |
29 |
OPTIONS="last_rule" |
30 |
KERNEL=="vcsa*", NAME="%k", GROUP="tty", |
31 |
OPTIONS="last_rule" |
32 |
KERNEL=="tty", NAME="%k", GROUP="tty", MODE="0666", |
33 |
OPTIONS="last_rule" |
34 |
KERNEL=="tty[0-9]", NAME="%k", GROUP="tty", |
35 |
OPTIONS="last_rule" |
36 |
KERNEL=="tty[0-9][0-9]", NAME="%k", GROUP="tty", |
37 |
OPTIONS="last_rule" |
38 |
KERNEL=="console", NAME="%k", GROUP="tty", MODE="0600" |
39 |
KERNEL=="ptmx", NAME="%k", GROUP="tty", MODE="0666" |
40 |
# tty devices |
41 |
KERNEL=="ttyS[0-9]*", NAME="%k", SYMLINK="tts/%n", GROUP="tty" |
42 |
KERNEL=="ttyUSB[0-9]*", NAME="%k", SYMLINK="tts/USB%n", GROUP="tty", MODE="0660" |
43 |
KERNEL=="ippp0", NAME="%k", GROUP="tty" |
44 |
KERNEL=="isdn*" NAME="%k", GROUP="tty" |
45 |
KERNEL=="dcbri*", NAME="%k", GROUP="tty" |
46 |
KERNEL=="ircomm*", NAME="%k", GROUP="tty" |
47 |
|
48 |
# egrep null 50-udev.rules |
49 |
KERNEL=="null", NAME="%k", MODE="0666" |
50 |
|
51 |
Why is /dev/null getting repeatedly set to more restrictive |
52 |
permission than 666? |
53 |
|
54 |
Which ruled do I edit? Explicit suggestions are most welcome. |
55 |
And educate me as to why this portable has this issue, and |
56 |
the other workstations do not? |
57 |
|
58 |
Udev seems to be a 'moving target' as much of what I've read seems |
59 |
dated, so any current documents to reference would be appreciated. |
60 |
The man pages are short on examples....i.e. I cannot find |
61 |
/etc/udev/rules.d/udev.examples.... |
62 |
|
63 |
http://gentoo-wiki.com/UDEV definately needs more detail.... |
64 |
|
65 |
|
66 |
James |
67 |
|
68 |
|
69 |
|
70 |
|
71 |
-- |
72 |
gentoo-user@g.o mailing list |