[8188] in Athena Bugs

home help back first fref pref prev next nref lref last post

Permissions on /dev/kmem, etc.

daemon@ATHENA.MIT.EDU (ckclark@ATHENA.MIT.EDU)
Fri Sep 13 16:38:30 1991

From: ckclark@ATHENA.MIT.EDU
Date: Fri, 13 Sep 91 16:39:01 -0400
To: ackerman@ATHENA.MIT.EDU
Cc: bugs@ATHENA.MIT.EDU
Reply-To: ckclark@mit.edu
In-Reply-To: [8182]

>	JOURNEYMAN% ps -aux
>	/dev/kmem: Permission denied

> What should have happened:
>	/dev/kmem, /dev/mem, and /dev/drum need to have world permission.

This is almost certainly caused by a bad configuration on your
workstation.  The proper protections for thes files are listed below.
Please note that they are *not* world-readable.  /bin/ps should be a
set-gid kmem program.

boom# ls -lg /dev/{kmem,drum,mem}
crw-r-----  1 root     kmem       7,   0 Aug 27 19:38 /dev/drum
crw-r-----  1 root     kmem       3,   1 Aug 27 19:38 /dev/kmem
crw-r-----  1 root     kmem       3,   0 Aug 27 19:38 /dev/mem
boom# ls -lg /bin/ps
-rwx--s--x  1 root     kmem       159744 Mar 19 09:47 /bin/ps


home help back first fref pref prev next nref lref last post