Willie Wong <wwong <at> Princeton.EDU> writes:

> On Wed, Jun 28, 2006 at 12:57:30AM +0000, Penguin Lover James squawked:
> > Well I found a temporary work around, but it does not solve
> > the problem.

> > chown root:tty /dev/pty*
> > chown root:tty /dev/tty*
> > chmod 666 /dev/null

> > I'd sure like to know what to remerge to fix this problem.
> > hal ? udev ?


> If you are running udev, check
>   /etc/udev/permissions.d/50-udev.permissions

> it should have lines like 
>   tty:root:tty:0666
>   tty[0-9]*:root:tty:0660
> and
>   null:root:root:0666
>   zero:root:root:0666

Well I put udev in my /etc/portage/package.keyworks to get the latest
version, thinking that might fix the problem. It do not.



# egrep tty 50-udev.rules <shows these lines>

KERNEL=="pty[pqrstuvwxyzabcdef][0123456789abcdef]", NAME="%k", GROUP="tty",    
OPTIONS="last_rule"
KERNEL=="tty[pqrstuvwxyzabcdef][0123456789abcdef]", NAME="%k", GROUP="tty",    
OPTIONS="last_rule"
KERNEL=="vcs*",                 NAME="%k", GROUP="tty",                
OPTIONS="last_rule"
KERNEL=="vcsa*",                NAME="%k", GROUP="tty",                
OPTIONS="last_rule"
KERNEL=="tty",                  NAME="%k", GROUP="tty", MODE="0666",   
OPTIONS="last_rule"
KERNEL=="tty[0-9]",             NAME="%k", GROUP="tty",                
OPTIONS="last_rule"
KERNEL=="tty[0-9][0-9]",        NAME="%k", GROUP="tty",                
OPTIONS="last_rule"
KERNEL=="console",              NAME="%k", GROUP="tty", MODE="0600"
KERNEL=="ptmx",                 NAME="%k", GROUP="tty", MODE="0666"
# tty devices
KERNEL=="ttyS[0-9]*",   NAME="%k", SYMLINK="tts/%n", GROUP="tty"
KERNEL=="ttyUSB[0-9]*", NAME="%k", SYMLINK="tts/USB%n", GROUP="tty", MODE="0660"
KERNEL=="ippp0",        NAME="%k", GROUP="tty"
KERNEL=="isdn*"         NAME="%k", GROUP="tty"
KERNEL=="dcbri*",       NAME="%k", GROUP="tty"
KERNEL=="ircomm*",      NAME="%k", GROUP="tty"
# alias pnp:dPNP0510 irtty-sir
# alias pnp:dPNP0511 irtty-sir


Likewise:

# egrep null 50-udev.rules
KERNEL=="null",         NAME="%k", MODE="0666"


Want to suggest specific changes to which lines?

It looks as though the (mode) permissions and groups are getting
set per the udev files?

James



-- 
gentoo-user@gentoo.org mailing list

Reply via email to