Subject: Re: xterm tty ownership
To: Christos Zoulas <christos@astron.com>
From: Gary Duzan <gary@duzan.org>
List: current-users
Date: 07/03/2007 21:23:31
In Message <f6dt3m$jnj$1@sea.gmane.org> ,
christos@astron.com (Christos Zoulas) wrote:
=>In article <200707031140.l63BeOUo028090@wheel.duzan.org>,
=>Gary Duzan <gary@duzan.org> wrote:
=>> For a couple weeks I've been getting:
=>>
=>>utmp_update: /dev/ttyp?: Is not owned by you
=>>
=>>every time I open an xterm. ls shows:
=>>
=>>crw--w---- 1 user tty 5, ? Jul 3 07:32 /dev/ttyp?
=>>
=>>If I ssh into the box, the ownership is set properly.
=>>
=>
=>What are the permissions of xterm, utmp_update?
-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.
Thanks.
Gary Duzan