Subject: kern/35226: Problems with permissions in /usr/pkg/emul/linux/proc .
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <jfranz@bsdprojects.net>
List: netbsd-bugs
Date: 12/10/2006 11:30:00
>Number:         35226
>Category:       kern
>Synopsis:       Problems with permissions in /usr/pkg/emul/linux/proc .
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 10 11:30:00 +0000 2006
>Originator:     Johann Franz
>Release:        NetBSD 4.0_BETA2 of 2006/12/09
>Organization:
>Environment:
System: NetBSD trillian 4.0_BETA2 NetBSD 4.0_BETA2 (TRILLIAN) #4: Sun Dec 10 11:18:47 CET 2006  jf@trillian:/usr/obj/sys/arch/i386/compile/TRILLIAN i386
Architecture: i386
Machine: i386
>Description:
Since 4.0 BETA2 I'm having problems with linux emulation and procfs that other users on IRC approved. 
A normal user can't access essential files in /usr/pkg/emul/linux/procfs, which may be the reason for some linux-emulated programs not working.
An earlier checkout of BETA2 a few days ago even didn't let a normal user do ls /usr/pkg/emul/linux/procfs at all.
>How-To-Repeat:
# mount -t procfs -o rw,linux procfs /usr/pkg/emul/linux/procfs
$ cat /usr/pkg/emul/linux/procfs/cpuinfo
>Fix: