devfs
[Top] [All Lists]

Re: [Cooker] /dev/pts/* permissions (cannot use "talk") (devfs?)

To: Russell Coker <russell@xxxxxxxxxxxx>
Subject: Re: [Cooker] /dev/pts/* permissions (cannot use "talk") (devfs?)
From: Richard Gooch <rgooch@xxxxxxxxxxxxxxx>
Date: Sun, 17 Feb 2002 15:06:48 -0700
Cc: Borsenkow Andrej <Andrej.Borsenkow@xxxxxxxxxxxxxx>, Cooker list <cooker@xxxxxxxxxxxxxxxxxx>, Kamil Toman <ktoman@xxxxxxxx>, devfs mailing list <devfs@xxxxxxxxxxx>
In-reply-to: <20020217035252.3958890@lyta.coker.com.au>
References: <20020216004808.GA3223@sarah.kolej.mff.cuni.cz> <1013868723.2458.39.camel@localhost.localdomain> <20020217035252.3958890@lyta.coker.com.au>
Sender: owner-devfs@xxxxxxxxxxx
Russell Coker writes:
> On Sun, 17 Feb 2002 01:11, Borsenkow Andrej wrote:
> > > when I run rxvt/xterm/konsole/gnome-terminal, my pseudoterminals at
> > > /dev/pts/* does not own group "tty" so I cannot use
> > > % mesg y
> > > mesg: error: tty device is not owned by group `tty'
> > >
> > > and users cannot "talk" to each other.
> > >
> > > When I log on text console, permission for /dev/vc/* are owned by
> > > group tty so talk here works.
> > >
> > > Is it problem with devfs? pam? init?
> >
> > Well, I am really confused here.
> >
> > - permissions for console (/dev/tty*) are (most probably) set either by
> > mingetty or by login. Neither pam nor devfsd are responsible for them.
> 
> Here's an extract from the default devfsd.conf for Debian:
> # set the group to "tty" of the pseudo-tty device.  This is necessary for
> # correct operation of mesg(1).
> REGISTER        ^pts/.* PERMISSIONS -1.tty 0600
> 
> This allows "mesg" to work as expected and seems to be working well for all 
> Debian devfsd users!

Good idea. I've done something similar in my sample devfsd.conf file.

                                Regards,

                                        Richard....
Permanent: rgooch@xxxxxxxxxxxxx
Current:   rgooch@xxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>