From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1FveAN-0004Rl-4u for garchives@archives.gentoo.org; Wed, 28 Jun 2006 17:49:31 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k5SHk8GW016243; Wed, 28 Jun 2006 17:46:08 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k5SHcMFY032747 for ; Wed, 28 Jun 2006 17:38:22 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id B5B3D6454D for ; Wed, 28 Jun 2006 17:38:21 +0000 (UTC) Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26650-02-2 for ; Wed, 28 Jun 2006 17:38:19 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id AB5546446E for ; Wed, 28 Jun 2006 17:38:18 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FvdzI-00032N-1C for gentoo-user@gentoo.org; Wed, 28 Jun 2006 19:38:04 +0200 Received: from www.buffer.net ([24.73.161.102]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Jun 2006 19:38:04 +0200 Received: from wireless by www.buffer.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Jun 2006 19:38:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: James Subject: [gentoo-user] Re: kconsole lost PTYs Date: Wed, 28 Jun 2006 17:37:52 +0000 (UTC) Message-ID: References: <20060628083710.487f4ac4@hactar.digimed.co.uk> <20060628162344.61cd70b0@hactar.digimed.co.uk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 24.73.161.102 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060616) Sender: news X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Status: No, score=-2.54 required=5.5 tests=[AWL=-0.018, BAYES_00=-2.599, TW_KD=0.077] X-Spam-Score: -2.54 X-Spam-Level: X-Archives-Salt: f47bd59c-ce5d-44b1-819d-6579ebba6d0a X-Archives-Hash: d74c7e4faf062aac32ec088894a9fead Neil Bothwick digimed.co.uk> writes: > > # egrep null 50-udev.rules > > KERNEL=="null", NAME="%k", MODE="0666" > > Why is /dev/null getting repeatedly set to more restrictive > > permission than 666? > Is another rule overriding this one? Try > grep null /etc/udev/rules.d/*.rules /etc/udev/rules.d/50-udev.rules:KERNEL=="null", NAME="%k", MODE="0666" And the other edits I make seem to be still in place: KERNEL=="console", NAME="%k", GROUP="tty", MODE="0666" which was the line I edited in '50-udev.rules'. etc/group tty::5:allen,james,mythtv,allie Still I have to ssh in and issue: chmod 666 /dev/null chown root:tty /dev/pty* chown root:tty /dev/tty* Before I make these changes, root:root owns the ptys/ttys and the /dev/null permissions are 600 (crw). Any other ideas as to what can be setting/corrupting these file permission/ownership? I can always use a custom script to patch this until a permanent fix is discovered. Any ideas what's the best place to do this? After bootup but before loging via the kdm session manager? James -- gentoo-user@gentoo.org mailing list