From owner-freebsd-stable Sun Jul 21 14:28:51 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B90B37B400; Sun, 21 Jul 2002 14:28:47 -0700 (PDT) Received: from mail6.nc.rr.com (fe6.southeast.rr.com [24.93.67.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9128343E65; Sun, 21 Jul 2002 14:28:46 -0700 (PDT) (envelope-from bts@fake.com) Received: from this.is.fake.com ([66.26.254.93]) by mail6.nc.rr.com with Microsoft SMTPSVC(5.5.1877.757.75); Sun, 21 Jul 2002 17:28:46 -0400 Received: by this.is.fake.com (Postfix, from userid 111) id 9E3FABB34; Sun, 21 Jul 2002 17:28:37 -0400 (EDT) Content-Type: text/plain; charset="us-ascii" From: "Brian T. Schellenberger" To: stable@freebsd.org, ports@freebsd.org Subject: stable: xosview fails - permission denied Date: Sun, 21 Jul 2002 17:28:37 -0400 User-Agent: KMail/1.4.2 Cc: Brian Handy MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200207211728.37338.bts@babbleon.org> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I can no longer run xosview as an ordinary user. This is with Friday's stable image, but I haven't upgraded before this in many months so I have no idea how recent it is. The message I get is: % xosview xosview: OpenKDIfNeeded():kvm-open(): Permission denied I can run it just fine as root. I tried doing a ktrace/kdump, and it shows this: 29763 xosview NAMI "/dev/mem" 29763 xosview RET open -1 errno 13 Permission denied 29763 xosview CALL write(0x2,0xbfbfdd48,0x9) 29763 xosview GIO fd 2 wrote 9 bytes "xosview: " 29763 xosview RET write 9 29763 xosview CALL write(0x2,0xbfbfdd78,0x1b) 29763 xosview GIO fd 2 wrote 27 bytes "OpenKDIfNeeded():kvm-open()" 29763 xosview RET write 27/0x1b So the fix (or at least the workaround) seemed obvious, but it doesn't work: I did a "chmod 777 /dev/mem" but it still fails in the same way. I even tried chown'ing it to my "regular" userid, but it still fails. (Of course I put it back the way I found it after my experiments.) Any ideas? -- Brian, the man from Babble-On . . . . bts@babbleon.org (personal) http://www.babbleon.org http://www.eff.org http://www.programming-freedom.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message