Results 1 to 4 of 4
Hello,
the files /dev/pts/* do not belong to group `tty'. The problem is, that some BSD tools like mesg, write and talk expect that.
Therefore "mesg y" does not work. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-25-2006 #1Just Joined!
- Join Date
- Aug 2006
- Location
- Germany
- Posts
- 26
/dev/pts/* files not group tty
Hello,
the files /dev/pts/* do not belong to group `tty'. The problem is, that some BSD tools like mesg, write and talk expect that.
Therefore "mesg y" does not work. (mesg: error: tty device is not owned by group `tty')
After I did chgrp, everything was alright.
But after restarting, everything is as before. I think it has to do with udev.
Asking my best friend Google did not help.
Thanks in advance.
EDIT: I do not know whether this is the right place for this thread, but I'm running Gentoo.
- 08-25-2006 #2
If it's on a Gentoo box, this is the right forum
.
If that makes it work, then make a new initscript. Save the following file as /etc/init.d/fix_tty (you need to be root):
Then run (also as root):Code:#!/sbin/runscript # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 start() { ebegin "Fixing TTY Ownership" chown tty /dev/pts/* eend $? }
This will cause the script to run on startup every time.Code:chmod +x /etc/init.d/fix_tty rc-update add fix_tty default
- 08-25-2006 #3Just Joined!
- Join Date
- Aug 2006
- Location
- Germany
- Posts
- 26
Thank you very much for this answer.
But these pts files are created dynamically. That means that this script should run every time....
- 08-25-2006 #4
Ah. Touche. Well, I can find very little on Google to do this. Maybe someone else has an idea?


Reply With Quote
