Subject: Re: xterm tty ownership
To: Gary Duzan <email@example.com>
From: Christos Zoulas <firstname.lastname@example.org>
Date: 07/03/2007 21:50:39
On Jul 3, 9:23pm, email@example.com (Gary Duzan) wrote:
-- Subject: Re: xterm tty ownership
| In Message <firstname.lastname@example.org> ,
| email@example.com (Christos Zoulas) wrote:
| =>In article <200707031140.l63BeOUo028090@wheel.duzan.org>,
| =>Gary Duzan <firstname.lastname@example.org> wrote:
| =>> For a couple weeks I've been getting:
| =>>utmp_update: /dev/ttyp?: Is not owned by you
The ? is the real tty letter I take it [0-9a-f];
| -r-xr-xr-x 1 root wheel 351522 Jul 1 13:09 /usr/X11R6/bin/xterm*
| -r-sr-xr-x 1 root wheel 11702 Jul 1 12:01 /usr/libexec/utmp_update*
| =>Did you compile your kernel with COMPAT_BSDPTY?
| options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
| =>ls -l /dev/ptm*
| crw-rw-rw- 1 root wheel 165, 1 Dec 8 2004 /dev/ptm
| crw-rw-rw- 1 root wheel 165, 0 Dec 8 2004 /dev/ptmx
| If it helps, I am running with one big LFS for everything, I
| have some debugging turned on in the kernel, and I'm running amd64.
That all looks fine, but what is the permission of the pty before xterm