Subject: Re: /dev permissions question.
To: None <stephea@aasis.albany-academy.org>
From: Ken Nakata <kenn@synap.ne.jp>
List: current-users
Date: 07/15/1998 23:59:03
Abraham J. Stephens wrote:
> When a user other then root trys to use 'ps' the following occurs:
> 
> ps: /dev/mem: Permission denied
> 
> What should the permissions of this device be?

I'd check ps's permission first:

$ ls -lF /bin/ps /dev/mem
-r-xr-sr-x  1 bin  kmem  163840 Jun 13 16:36 /bin/ps*
crw-r-----  1 bin  kmem    2, 0 Dec 16  1997 /dev/mem

It is especially important that both are owned by group "kmem" and
/bin/ps has permission -r-xr-sr-x.
                             ^

Ken