From owner-freebsd-current@FreeBSD.ORG Sat Oct 16 13:42:08 2004 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 E4F5F16A4CF for ; Sat, 16 Oct 2004 13:42:08 +0000 (GMT) Received: from coruscant.rfc1149.org (coruscant.rfc1149.org [217.160.130.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90A9F43D1D for ; Sat, 16 Oct 2004 13:42:08 +0000 (GMT) (envelope-from arne@rfc2549.org) Received: by coruscant.rfc1149.org (Postfix, from userid 110) id 9588F3EE0; Sat, 16 Oct 2004 15:42:07 +0200 (CEST) Received: from kamino.rfc1149.org (kamino.rfc1149.org [2001:8d8:81:11::2]) by coruscant.rfc1149.org (Postfix) with ESMTP id 3C7BA3E9B; Sat, 16 Oct 2004 15:42:04 +0200 (CEST) Received: by kamino.rfc1149.org (Postfix, from userid 1001) id D48C84089; Sat, 16 Oct 2004 15:42:01 +0200 (CEST) To: rse@engelschall.com In-Reply-To: <20041015201033.GA51887@engelschall.com> (Ralf S. Engelschall's message of "Fri, 15 Oct 2004 22:10:33 +0200") References: <20041015201033.GA51887@engelschall.com> From: Arne Schwabe Date: Sat, 16 Oct 2004 15:42:01 +0200 Message-ID: <86acumu6dy.fsf@kamino.rfc1149.org> User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on coruscant.rfc1149.org X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.60 X-Spam-Level: cc: freebsd-current@freebsd.org Subject: Re: Linux ABI and permissions to /dev 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: Sat, 16 Oct 2004 13:42:09 -0000 "Ralf S. Engelschall" writes: > Under latest RELENG_5 I'm experiencing since recently (about 2-4 weeks I > think) "permission denied" errors under the Linux ABI on write-access to > e.g. /dev/null or other devices under /dev: > > | $ id > | uid=10000(rse) gid=10000(rse) groups=10000(rse),5(operator),2001(en) > | $ ls -l /dev/null > | crw-rw-rw- 1 root wheel 2, 2 Oct 15 21:39 /dev/null > | $ echo foo >/dev/null > | $ ls -l /compat/linux/bin/dev/null > | ls: /compat/linux/bin/dev/null: No such file or directory > | $ /compat/linux/bin/bash > | bash bash2 > | $ /compat/linux/bin/bash > | $ ls -l /dev/null > | crw-rw-rw- 1 root wheel 2, 2 Oct 15 21:40 /dev/null > | $ echo foo >/dev/null > | bash: /dev/null: Permission denied > | $ > > Has anybody an idea where to search? There were no changes to devfs > recently and the recent changes to the Linuxulator seemed harmless to me > at the first glance... is there a /usr/compat/linux/dev directory? If there is try to remove it, so that it does not shadow the /dev/ direcotry Arne -- compiling millions of tiny c-programs...done checking for a working configure script... not found