From: Chris W. <re...@se...> - 2000-06-10 19:13:25
|
Perms on /dev/3dfx and /dev/ttys0 (symlinked to /dev/mouse)... crw-rw-rw- 1 root root 107, 0 Oct 29 1999 3dfx lrwxrwxrwx 1 root root 5 Sep 16 1999 mouse -> ttyS0 crw-r--r-- 1 root tty 4, 64 May 5 1998 ttyS0 crw-rw--w- 1 root privuser 5, 1 Jun 9 11:06 console I've confirmed that every 3dfx app runs perfectly when logged in as root. However, when run as a non-priveleged user (even if the app itself is suid root), I do not have keyboard or mouse control. The exception is the aforementioned glutfx program. I'v determined that this is isolated to apps using Mesa...the 3Dfx glide demo apps that are available on 3dfx's website (desktop, donut, surf) all run fine from non-priveleged shells with full mouse and keyboard control. What other files or devices should I check permissions on? -Chris On Sat, Jun 10, 2000 at 08:58:03AM +0100, Andrew C Aitchison wrote: > Chris Woodfield wrote: > > Another data point...I've found that the demo apps retain control of the > > input when I run them as root, but lose control of input events when I ru > > them as a non-priveleged user. Haven't tried this with Quake yet, but > > that's the case with all of the apps in Mesa-3.2/demos and > > Mesa-3.2/3Dfx/demos/. > > In that case, are /dev/3dfx and /dev/mouse owned by the same > user and group, and are the apps running as a user with permission > to access them ? I'm not up to speed, but I remember a time when > glide was setup to only available to users with extra permissions; > it sounds as if the demos may be su-ing to someone who can't read > input devices. I may be barking up the wrong tree. > > _______________________________________________ > Mesa3d-users mailing list > Mes...@li... > http://lists.sourceforge.net/mailman/listinfo/mesa3d-users -- --------------------------- Christopher A. Woodfield re...@se... PGP Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xB887618B |