Subject: Re: xload from ftp.macbsd.com
To: David Bushong <dbushong@volga.eecs.berkeley.edu>
From: Bill Studenmund <wrstuden@loki.stanford.edu>
List: port-mac68k
Date: 09/02/1996 09:10:58
> % rehash
> % xload
> <the window comes up, sits for a moment, then closes>
> Load Widget: /dev/mem: Permission denied
> xload: cannot get access to kernel address space getValue
> 
> As root, it works fine, however.  I untarred it with -p, obviously, and 
> the permissions on /dev/mem and /dev/kmem look like this:
> 
> crw-r-----  1 root  kmem    2,   1 Jul 30 18:22 /dev/kmem
> crw-r-----  1 root  kmem    2,   0 Jul 30 18:22 /dev/mem
> 
> Any ideas?

You didn't show us the permissions for xload, but I'll stick my
neck out & suggest that you need to make it in the kmem group,
and make it set-gid.

As root, try:
chgrp kmem /wherever/xload
chmod g+s  /wherever/xload

Take care,

Bill