Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Oct 2004 15:42:01 +0200
From:      Arne Schwabe <arne@rfc2549.org>
To:        rse@engelschall.com
Cc:        freebsd-current@freebsd.org
Subject:   Re: Linux ABI and permissions to /dev
Message-ID:  <86acumu6dy.fsf@kamino.rfc1149.org>
In-Reply-To: <20041015201033.GA51887@engelschall.com> (Ralf S. Engelschall's message of "Fri, 15 Oct 2004 22:10:33 %2B0200")
References:  <20041015201033.GA51887@engelschall.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Ralf S. Engelschall" <rse@engelschall.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86acumu6dy.fsf>