Linux ABI and permissions to /dev
Arne Schwabe
arne at rfc2549.org
Sat Oct 16 06:42:09 PDT 2004
"Ralf S. Engelschall" <rse at 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
More information about the freebsd-current
mailing list