1 |
Willie Wong <wwong <at> Princeton.EDU> writes: |
2 |
|
3 |
|
4 |
> On Wed, Jun 28, 2006 at 12:57:30AM +0000, Penguin Lover James squawked: |
5 |
> > Well I found a temporary work around, but it does not solve |
6 |
> > the problem. |
7 |
|
8 |
> > chown root:tty /dev/pty* |
9 |
> > chown root:tty /dev/tty* |
10 |
> > chmod 666 /dev/null |
11 |
|
12 |
> > I'd sure like to know what to remerge to fix this problem. |
13 |
> > hal ? udev ? |
14 |
|
15 |
|
16 |
> If you are running udev, check |
17 |
> /etc/udev/permissions.d/50-udev.permissions |
18 |
|
19 |
> it should have lines like |
20 |
> tty:root:tty:0666 |
21 |
> tty[0-9]*:root:tty:0660 |
22 |
> and |
23 |
> null:root:root:0666 |
24 |
> zero:root:root:0666 |
25 |
|
26 |
Well I put udev in my /etc/portage/package.keyworks to get the latest |
27 |
version, thinking that might fix the problem. It do not. |
28 |
|
29 |
|
30 |
|
31 |
# egrep tty 50-udev.rules <shows these lines> |
32 |
|
33 |
KERNEL=="pty[pqrstuvwxyzabcdef][0123456789abcdef]", NAME="%k", GROUP="tty", |
34 |
OPTIONS="last_rule" |
35 |
KERNEL=="tty[pqrstuvwxyzabcdef][0123456789abcdef]", NAME="%k", GROUP="tty", |
36 |
OPTIONS="last_rule" |
37 |
KERNEL=="vcs*", NAME="%k", GROUP="tty", |
38 |
OPTIONS="last_rule" |
39 |
KERNEL=="vcsa*", NAME="%k", GROUP="tty", |
40 |
OPTIONS="last_rule" |
41 |
KERNEL=="tty", NAME="%k", GROUP="tty", MODE="0666", |
42 |
OPTIONS="last_rule" |
43 |
KERNEL=="tty[0-9]", NAME="%k", GROUP="tty", |
44 |
OPTIONS="last_rule" |
45 |
KERNEL=="tty[0-9][0-9]", NAME="%k", GROUP="tty", |
46 |
OPTIONS="last_rule" |
47 |
KERNEL=="console", NAME="%k", GROUP="tty", MODE="0600" |
48 |
KERNEL=="ptmx", NAME="%k", GROUP="tty", MODE="0666" |
49 |
# tty devices |
50 |
KERNEL=="ttyS[0-9]*", NAME="%k", SYMLINK="tts/%n", GROUP="tty" |
51 |
KERNEL=="ttyUSB[0-9]*", NAME="%k", SYMLINK="tts/USB%n", GROUP="tty", MODE="0660" |
52 |
KERNEL=="ippp0", NAME="%k", GROUP="tty" |
53 |
KERNEL=="isdn*" NAME="%k", GROUP="tty" |
54 |
KERNEL=="dcbri*", NAME="%k", GROUP="tty" |
55 |
KERNEL=="ircomm*", NAME="%k", GROUP="tty" |
56 |
# alias pnp:dPNP0510 irtty-sir |
57 |
# alias pnp:dPNP0511 irtty-sir |
58 |
|
59 |
|
60 |
Likewise: |
61 |
|
62 |
# egrep null 50-udev.rules |
63 |
KERNEL=="null", NAME="%k", MODE="0666" |
64 |
|
65 |
|
66 |
Want to suggest specific changes to which lines? |
67 |
|
68 |
It looks as though the (mode) permissions and groups are getting |
69 |
set per the udev files? |
70 |
|
71 |
James |
72 |
|
73 |
|
74 |
|
75 |
-- |
76 |
gentoo-user@g.o mailing list |