From owner-freebsd-current@FreeBSD.ORG Thu May 19 16:23:50 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7959D16A4CE for ; Thu, 19 May 2005 16:23:50 +0000 (GMT) Received: from pasmtp.tele.dk (pasmtp.tele.dk [193.162.159.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5E7843DAC for ; Thu, 19 May 2005 16:23:49 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (0x535c0e2a.sgnxx1.adsl-dhcp.tele.dk [83.92.14.42]) by pasmtp.tele.dk (Postfix) with ESMTP id C42B21EC31D for ; Thu, 19 May 2005 18:23:48 +0200 (CEST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.3/8.13.3) with ESMTP id j4JGNhrF021665; Thu, 19 May 2005 18:23:44 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Kris Kennaway From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 19 May 2005 09:13:06 PDT." <20050519161306.GC87697@xor.obsecurity.org> Date: Thu, 19 May 2005 18:23:43 +0200 Message-ID: <21664.1116519823@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: current@FreeBSD.org Subject: Re: tty ownership problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2005 16:23:50 -0000 Did you login as root and su to ports-i386 ? In message <20050519161306.GC87697@xor.obsecurity.org>, Kris Kennaway writes: > >--96YOpH+ONegL0A3E >Content-Type: text/plain; charset=us-ascii >Content-Disposition: inline > >On one of my machines I am getting the following: > >ports-i386%whoami >ports-i386 >lsports-i386%ls -l `tty` >crw--w---- 1 root tty 3, 79 May 19 09:20 /dev/ttyp0 >ports-i386% > >i.e. the tty ownership is wrong. This is also the only ttyp device >that exists on the machine, i.e. there are no additional devices with >mode 666. > >I have verified I have no fbtab, devfs.conf, filesystem mount options, >or kernel patches that should be affecting this. I've tried switching >the kernel sources back 2 weeks (well before the last working kernel >update), and have done a make world. Does anyone know what could be >causing this? > >Kris > >--96YOpH+ONegL0A3E >Content-Type: application/pgp-signature >Content-Disposition: inline > >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.4.1 (FreeBSD) > >iD8DBQFCjLsRWry0BWjoQKURAg1YAJ9jk9MBZuoVyRNkC2d/v1ELcE1R3QCgqyJP >M01FS4zm/CksYaFffgd51a0= >=XZNN >-----END PGP SIGNATURE----- > >--96YOpH+ONegL0A3E-- > -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.